home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / prolog / ai.prl / opnprlg1.hqx / Open Prolog / Open Prolog.rsrc / CODE_17_Routines.txt < prev    next >
Text File  |  1993-04-15  |  213KB  |  3,815 lines

  1. # near model CODE resource
  2. # entry label at 0x0000
  3. export_362:
  4. entry:
  5. 00000000  4E56 FFFA                link       A6, -0x0006
  6. 00000004  486D EEF0                pea.l      [A5 - 0x1110]
  7. 00000008  486E FFFE                pea.l      [A6 - 0x2]
  8. 0000000C  486E FFFA                pea.l      [A6 - 0x6]
  9. 00000010  A9F5                     trap       GetAppParms
  10. 00000012  4E5E                     unlink     A6
  11. 00000014  4E75                     rts
  12. 00000016  8A47                     or.w       D5, D7
  13. 00000018  4554                     chk.w      D2, [A4]
  14. 0000001A  4150                     chk.w      D0, [A0]
  15. 0000001C  504E                     addq.w     A6, 8
  16. 0000001E  414D                     chk.w      D0, A5
  17. 00000020  4500                     .invalid   2, D0 // invalid opcode 4 with b == 4
  18. 00000022  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  19. export_363: // at 00000024 (misaligned)
  20. 00000026  0000 487A                ori.b      D0, 0x7A /* 'z' */
  21. 0000002A  0036 41ED EEF0           ori.b      [A6 + A6 * 8 - 0x10], 0xED
  22. 00000030  1F10                     move.b     -[A7], [A0]
  23. 00000032  3F3C 00FF                move.w     -[A7], 0xFF
  24. 00000036  4EAD 0F22                jsr        [A5 + 0xF22]
  25. 0000003A  2F08                     move.l     -[A7], A0
  26. 0000003C  1F3C 0001                move.b     -[A7], 0x1
  27. 00000040  4EAD 0F02                jsr        [A5 + 0xF02]
  28. 00000044  4E5E                     unlink     A6
  29. 00000046  4E75                     rts
  30. 00000048  9449                     sub.w      D2, A1
  31. 0000004A  4E49                     trap       9
  32. 0000004C  5449                     addq.w     A1, 2
  33. 0000004E  414C                     chk.w      D0, A4
  34. 00000050  4953                     chk.w      D4, [A3]
  35. 00000052  4545                     chk.w      D2, D5
  36. 00000054  5252                     addq.w     [A2], 1
  37. 00000056  4F52                     chk.w      D7, [A2]
  38. 00000058  5354                     subq.w     [A4], 1
  39. 0000005A  5546                     subq.w     D6, 2
  40. 0000005C  4600                     not.b      D0
  41. 0000005E  0002 0000                ori.b      D2, 0x0
  42. export_364:
  43. fn00000062:
  44. 00000062  4E56 FFFE                link       A6, -0x0002
  45. 00000066  0C6D 0604 FDBE           cmpi.w     [A5 - 0x242], 0x604
  46. 0000006C  6D00 00BC                blt        +0xBE /* 0000012A */
  47. 00000070  102D EFF0                move.b     D0, [A5 - 0x1010]
  48. 00000074  6600 00B4                bne        +0xB6 /* 0000012A */
  49. 00000078  1B7C 0001 EFF0           move.b     [A5 - 0x1010], 0x1
  50. 0000007E  3B7C 0008 EE82           move.w     [A5 - 0x117E], 0x8
  51. 00000084  3B7C 0001 EE8C           move.w     [A5 - 0x1174], 0x1
  52. 0000008A  42A7                     clr.l      -[A7]
  53. 0000008C  2F3C 5349 434E           move.l     -[A7], 0x5349434E /* 'SICN' */
  54. 00000092  3F3C 0080                move.w     -[A7], 0x80
  55. 00000096  A9A0                     trap       GetResource
  56. 00000098  2B5F EE8E                move.l     [A5 - 0x1172], [A7]+
  57. 0000009C  206E 0008                movea.l    A0, [A6 + 0x8]
  58. 000000A0  2F08                     move.l     -[A7], A0
  59. 000000A2  487A 009A                pea.l      [PC + 0x9A /* 0000013E, pstring "beep" */]
  60. 000000A6  4EAD 0F42                jsr        [A5 + 0xF42]
  61. 000000AA  101F                     move.b     D0, [A7]+
  62. 000000AC  6708                     beq        +0xA /* 000000B6 */
  63. 000000AE  70FF                     moveq.l    D0, 0xFFFFFFFF
  64. 000000B0  2B40 EE92                move.l     [A5 - 0x116E], D0
  65. 000000B4  601E                     bra        +0x20 /* 000000D4 */
  66. label000000B6:
  67. 000000B6  42A7                     clr.l      -[A7]
  68. 000000B8  2F3C 736E 6420           move.l     -[A7], 0x736E6420 /* 'snd ' */
  69. 000000BE  206E 0008                movea.l    A0, [A6 + 0x8]
  70. 000000C2  1F10                     move.b     -[A7], [A0]
  71. 000000C4  3F3C 00FF                move.w     -[A7], 0xFF
  72. 000000C8  4EAD 0F22                jsr        [A5 + 0xF22]
  73. 000000CC  2F08                     move.l     -[A7], A0
  74. 000000CE  A9A1                     trap       GetNamedResource
  75. 000000D0  2B5F EE92                move.l     [A5 - 0x116E], [A7]+
  76. label000000D4:
  77. 000000D4  206E 000C                movea.l    A0, [A6 + 0xC]
  78. 000000D8  4A10                     tst.b      [A0]
  79. 000000DA  6608                     bne        +0xA /* 000000E4 */
  80. 000000DC  7000                     moveq.l    D0, 0x00
  81. 000000DE  2B40 EE96                move.l     [A5 - 0x116A], D0
  82. 000000E2  602A                     bra        +0x2C /* 0000010E */
  83. label000000E4:
  84. 000000E4  42A7                     clr.l      -[A7]
  85. 000000E6  2F3C 0000 0100           move.l     -[A7], 0x100
  86. 000000EC  4EAD 03BA                jsr        [A5 + 0x3BA]
  87. 000000F0  2B5F EE96                move.l     [A5 - 0x116A], [A7]+
  88. 000000F4  206D EE96                movea.l    A0, [A5 - 0x116A]
  89. 000000F8  226E 000C                movea.l    A1, [A6 + 0xC]
  90. 000000FC  1F11                     move.b     -[A7], [A1]
  91. 000000FE  3F3C 00FF                move.w     -[A7], 0xFF
  92. 00000102  4EAD 0F22                jsr        [A5 + 0xF22]
  93. 00000106  703F                     moveq.l    D0, 0x3F
  94. label00000108:
  95. 00000108  20D9                     move.l     [A0]+, [A1]+
  96. 0000010A  51C8 FFFC                dbf        D0, -0x6 /* 00000108 */
  97. label0000010E:
  98. 0000010E  7000                     moveq.l    D0, 0x00
  99. 00000110  2B40 EE9A                move.l     [A5 - 0x1166], D0
  100. 00000114  7000                     moveq.l    D0, 0x00
  101. 00000116  2B40 EE9E                move.l     [A5 - 0x1162], D0
  102. 0000011A  4267                     clr.w      -[A7]
  103. 0000011C  486D EE7E                pea.l      [A5 - 0x1182]
  104. 00000120  205F                     movea.l    A0, [A7]+
  105. 00000122  A05E                     trap       NMInstall
  106. 00000124  3E80                     move.w     [A7], D0
  107. 00000126  3D5F FFFE                move.w     [A6 - 0x2], [A7]+
  108. label0000012A:
  109. 0000012A  4E5E                     unlink     A6
  110. 0000012C  205F                     movea.l    A0, [A7]+
  111. 0000012E  504F                     addq.w     A7, 8
  112. 00000130  4ED0                     jmp        [A0]
  113. 00000132  8844                     or.w       D4, D4
  114. 00000134  4F4E                     chk.w      D7, A6
  115. 00000136  4F54                     chk.w      D7, [A4]
  116. 00000138  4946                     chk.w      D4, D6
  117. 0000013A  5900                     subq.b     D0, 4
  118. 0000013C  0006 0462                ori.b      D6, 0x62 /* 'b' */
  119. 00000140  6565                     bcs        +0x67 /* 000001A7 */
  120. 00000142  7000                     moveq.l    D0, 0x00
  121. export_365:
  122. fn00000144:
  123. 00000144  4E56 FFFE                link       A6, -0x0002
  124. 00000148  0C6D 0604 FDBE           cmpi.w     [A5 - 0x242], 0x604
  125. 0000014E  6D2E                     blt        +0x30 /* 0000017E */
  126. 00000150  102D EFF0                move.b     D0, [A5 - 0x1010]
  127. 00000154  6728                     beq        +0x2A /* 0000017E */
  128. 00000156  422D EFF0                clr.b      [A5 - 0x1010]
  129. 0000015A  4AAD EE96                tst.l      [A5 - 0x116A]
  130. 0000015E  670E                     beq        +0x10 /* 0000016E */
  131. 00000160  2F2D EE96                move.l     -[A7], [A5 - 0x116A]
  132. 00000164  205F                     movea.l    A0, [A7]+
  133. 00000166  A01F                     trap       DisposPtr/DisposePtr
  134. 00000168  7000                     moveq.l    D0, 0x00
  135. 0000016A  2B40 EE96                move.l     [A5 - 0x116A], D0
  136. label0000016E:
  137. 0000016E  4267                     clr.w      -[A7]
  138. 00000170  486D EE7E                pea.l      [A5 - 0x1182]
  139. 00000174  205F                     movea.l    A0, [A7]+
  140. 00000176  A05F                     trap       NMRemove
  141. 00000178  3E80                     move.w     [A7], D0
  142. 0000017A  3D5F FFFE                move.w     [A6 - 0x2], [A7]+
  143. label0000017E:
  144. 0000017E  4E5E                     unlink     A6
  145. 00000180  4E75                     rts
  146. 00000182  8A53                     or.w       D5, [A3]
  147. 00000184  544F                     addq.w     A7, 2
  148. 00000186  504E                     addq.w     A6, 8
  149. 00000188  4F54                     chk.w      D7, [A4]
  150. 0000018A  4946                     chk.w      D4, D6
  151. 0000018C  5900                     subq.b     D0, 4
  152. 0000018E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  153. export_366: // at 00000190 (misaligned)
  154. 00000192  FE00                     .extension 0xE00 // unimplemented
  155. 00000194  206E 000C                movea.l    A0, [A6 + 0xC]
  156. 00000198  43EE FF00                lea.l      A1, [A6 - 0x100]
  157. 0000019C  703F                     moveq.l    D0, 0x3F
  158. label0000019E:
  159. 0000019E  22D8                     move.l     [A1]+, [A0]+
  160. 000001A0  51C8 FFFC                dbf        D0, -0x6 /* 0000019E */
  161. 000001A4  206E 0008                movea.l    A0, [A6 + 0x8]
  162. label000001A7: // (misaligned)
  163. 000001A8  43EE FE00                lea.l      A1, [A6 - 0x200]
  164. 000001AC  703F                     moveq.l    D0, 0x3F
  165. label000001AE:
  166. 000001AE  22D8                     move.l     [A1]+, [A0]+
  167. 000001B0  51C8 FFFC                dbf        D0, -0x6 /* 000001AE */
  168. 000001B4  4267                     clr.w      -[A7]
  169. 000001B6  486D E862                pea.l      [A5 - 0x179E]
  170. 000001BA  7003                     moveq.l    D0, 0x03
  171. 000001BC  2F00                     move.l     -[A7], D0
  172. 000001BE  A85D                     trap       BitTst
  173. 000001C0  101F                     move.b     D0, [A7]+
  174. 000001C2  672A                     beq        +0x2C /* 000001EE */
  175. 000001C4  4267                     clr.w      -[A7]
  176. 000001C6  4EAD 04BA                jsr        [A5 + 0x4BA]
  177. 000001CA  101F                     move.b     D0, [A7]+
  178. 000001CC  6620                     bne        +0x22 /* 000001EE */
  179. 000001CE  486E FF00                pea.l      [A6 - 0x100]
  180. 000001D2  486E FE00                pea.l      [A6 - 0x200]
  181. 000001D6  4EBA FE8A                jsr        [PC - 0x176 /* 00000062 */]
  182. label000001DA:
  183. 000001DA  4267                     clr.w      -[A7]
  184. 000001DC  4EAD 04BA                jsr        [A5 + 0x4BA]
  185. 000001E0  101F                     move.b     D0, [A7]+
  186. 000001E2  6606                     bne        +0x8 /* 000001EA */
  187. 000001E4  4EAD 04C2                jsr        [A5 + 0x4C2]
  188. 000001E8  60F0                     bra        -0xE /* 000001DA */
  189. label000001EA:
  190. 000001EA  4EBA FF58                jsr        [PC - 0xA8 /* 00000144 */]
  191. label000001EE:
  192. 000001EE  4E5E                     unlink     A6
  193. 000001F0  205F                     movea.l    A0, [A7]+
  194. 000001F2  504F                     addq.w     A7, 8
  195. 000001F4  4ED0                     jmp        [A0]
  196. 000001F6  944E                     sub.w      D2, A6
  197. 000001F8  4F54                     chk.w      D7, [A4]
  198. 000001FA  4946                     chk.w      D4, D6
  199. 000001FC  5946                     subq.w     D6, 4
  200. 000001FE  524F                     addq.w     A7, 1
  201. 00000200  4D42                     chk.w      D6, D2
  202. 00000202  4143                     chk.w      D0, D3
  203. 00000204  4B47                     chk.w      D5, D7
  204. 00000206  524F                     addq.w     A7, 1
  205. 00000208  554E                     subq.w     A6, 2
  206. 0000020A  4400                     neg.b      D0
  207. 0000020C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  208. export_367: // at 0000020E (misaligned)
  209. 00000210  FFFC                     .extension 0xFFC // unimplemented
  210. 00000212  4267                     clr.w      -[A7]
  211. 00000214  2F3C 6F73 2020           move.l     -[A7], 0x6F732020 /* 'os  ' */
  212. 0000021A  486E FFFC                pea.l      [A6 - 0x4]
  213. 0000021E  4EAD 043A                jsr        [A5 + 0x43A]
  214. 00000222  4A5F                     tst.w      [A7]+
  215. 00000224  6612                     bne        +0x14 /* 00000238 */
  216. 00000226  4267                     clr.w      -[A7]
  217. 00000228  486E FFFC                pea.l      [A6 - 0x4]
  218. 0000022C  701A                     moveq.l    D0, 0x1A
  219. 0000022E  2F00                     move.l     -[A7], D0
  220. 00000230  A85D                     trap       BitTst
  221. 00000232  1B5F EFF1                move.b     [A5 - 0x100F], [A7]+
  222. 00000236  6004                     bra        +0x6 /* 0000023C */
  223. label00000238:
  224. 00000238  422D EFF1                clr.b      [A5 - 0x100F]
  225. label0000023C:
  226. 0000023C  4E5E                     unlink     A6
  227. 0000023E  4E75                     rts
  228. 00000240  8C43                     or.w       D6, D3
  229. 00000242  4845                     swap.w     D5
  230. 00000244  434B                     chk.w      D1, A3
  231. 00000246  5445                     addq.w     D5, 2
  232. 00000248  4D50                     chk.w      D6, [A0]
  233. 0000024A  4D45                     chk.w      D6, D5
  234. 0000024C  4D00                     .invalid   6, D0 // invalid opcode 4 with b == 4
  235. 0000024E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  236. export_368: // at 00000250 (misaligned)
  237. 00000252  0000 2F2E                ori.b      D0, 0x2E /* '.' */
  238. 00000256  000C 2F2E                ori.b      A4, 0x2E /* '.' */
  239. 0000025A  0008 4EAD                ori.b      A0, 0xAD
  240. 0000025E  042A 4E5E 205F           subi.b     [A2 + 0x205F], 0x5E /* '^' */
  241. 00000264  504F                     addq.w     A7, 8
  242. 00000266  4ED0                     jmp        [A0]
  243. 00000268  8E4D                     or.w       D7, A5
  244. 0000026A  5947                     subq.w     D7, 4
  245. 0000026C  4554                     chk.w      D2, [A4]
  246. 0000026E  494E                     chk.w      D4, A6
  247. 00000270  4453                     neg.w      [A3]
  248. 00000272  5452                     addq.w     [A2], 2
  249. 00000274  494E                     chk.w      D4, A6
  250. 00000276  4700                     .invalid   3, D0 // invalid opcode 4 with b == 4
  251. 00000278  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  252. // begin alternate branch 0000027A-0000027E
  253. export_369:
  254. fn0000027A:
  255. 0000027A  4E56 FF00                link       A6, -0x0100
  256. // end alternate branch 0000027A-0000027E
  257. export_369: // at 0000027A (misaligned)
  258. fn0000027A: // (misaligned)
  259. 0000027C  FF00                     .extension 0xF00 // unimplemented
  260. 0000027E  486E FF00                pea.l      [A6 - 0x100]
  261. 00000282  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  262. 00000286  4EAD 042A                jsr        [A5 + 0x42A]
  263. 0000028A  206E 000C                movea.l    A0, [A6 + 0xC]
  264. 0000028E  43EE FF00                lea.l      A1, [A6 - 0x100]
  265. 00000292  1F11                     move.b     -[A7], [A1]
  266. 00000294  3F3C 00FF                move.w     -[A7], 0xFF
  267. 00000298  4EAD 0F22                jsr        [A5 + 0xF22]
  268. 0000029C  703F                     moveq.l    D0, 0x3F
  269. label0000029E:
  270. 0000029E  20D9                     move.l     [A0]+, [A1]+
  271. 000002A0  51C8 FFFC                dbf        D0, -0x6 /* 0000029E */
  272. 000002A4  4E5E                     unlink     A6
  273. 000002A6  2E9F                     move.l     [A7], [A7]+
  274. 000002A8  4E75                     rts
  275. 000002AA  8D46 4745                pack       D6, D6, 0x4745
  276. 000002AE  5449                     addq.w     A1, 2
  277. 000002B0  4E44                     trap       4
  278. 000002B2  5354                     subq.w     [A4], 1
  279. 000002B4  5249                     addq.w     A1, 1
  280. 000002B6  4E47                     trap       7
  281. 000002B8  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  282. // begin alternate branch 000002BA-000002BE
  283. export_370:
  284. fn000002BA:
  285. 000002BA  4E56 FEFA                link       A6, -0x0106
  286. // end alternate branch 000002BA-000002BE
  287. export_370: // at 000002BA (misaligned)
  288. fn000002BA: // (misaligned)
  289. 000002BC  FEFA                     .extension 0xEFA // unimplemented
  290. 000002BE  48E7 0300                movem.l    -[A7], D6,D7
  291. 000002C2  486E FF00                pea.l      [A6 - 0x100]
  292. 000002C6  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  293. 000002CA  4EAD 042A                jsr        [A5 + 0x42A]
  294. 000002CE  7E01                     moveq.l    D7, 0x01
  295. 000002D0  7C00                     moveq.l    D6, 0x00
  296. 000002D2  4240                     clr.w      D0
  297. 000002D4  102E FF00                move.b     D0, [A6 - 0x100]
  298. 000002D8  4A40                     tst.w      D0
  299. 000002DA  6764                     beq        +0x66 /* 00000340 */
  300. label000002DC:
  301. 000002DC  4240                     clr.w      D0
  302. 000002DE  102E FF00                move.b     D0, [A6 - 0x100]
  303. 000002E2  B047                     cmp.w      D0, D7
  304. 000002E4  5CC0                     sge        D0
  305. 000002E6  3207                     move.w     D1, D7
  306. 000002E8  43BC 00FF 4242           .invalid   1, 0xFF4242 // invalid opcode 4 with b == 6
  307. 000002EE  41EE FF00                lea.l      A0, [A6 - 0x100]
  308. 000002F2  1430 1000                move.b     D2, [A0 + D1.w]
  309. 000002F6  4A42                     tst.w      D2
  310. 000002F8  6B18                     bmi        +0x1A /* 00000312 */
  311. 000002FA  B47C 003F                cmp.w      D2, 0x3F /* '?' */
  312. 000002FE  6E12                     bgt        +0x14 /* 00000312 */
  313. 00000300  43FA 0066                lea.l      A1, [PC + 0x66 /* 00000368 */]
  314. 00000304  3202                     move.w     D1, D2
  315. 00000306  E649                     lsr        D1.w, 3
  316. 00000308  4441                     neg.w      D1
  317. 0000030A  0531 10FF                btst       [A1 + D1.w - 0x1], D2
  318. 0000030E  0A3C 0004                xori.b     ccr, 4
  319. label00000312:
  320. 00000312  57C1                     seq        D1
  321. 00000314  C001                     and.b      D0, D1
  322. 00000316  6728                     beq        +0x2A /* 00000340 */
  323. 00000318  2F06                     move.l     -[A7], D6
  324. 0000031A  700A                     moveq.l    D0, 0x0A
  325. 0000031C  2F00                     move.l     -[A7], D0
  326. 0000031E  4EAD 0F12                jsr        [A5 + 0xF12]
  327. 00000322  3007                     move.w     D0, D7
  328. 00000324  41BC 00FF 4241           .invalid   0, 0xFF4241 // invalid opcode 4 with b == 6
  329. 0000032A  41EE FF00                lea.l      A0, [A6 - 0x100]
  330. 0000032E  1230 0000                move.b     D1, [A0 + D0.w]
  331. 00000332  48C1                     ext.l      D1
  332. 00000334  D29F                     add.l      D1, [A7]+
  333. 00000336  2C01                     move.l     D6, D1
  334. 00000338  7030                     moveq.l    D0, 0x30
  335. 0000033A  9C80                     sub.l      D6, D0
  336. 0000033C  5247                     addq.w     D7, 1
  337. 0000033E  609C                     bra        -0x62 /* 000002DC */
  338. label00000340:
  339. 00000340  2D46 000C                move.l     [A6 + 0xC], D6
  340. 00000344  4CDF 00C0                movem.l    D7,D6, [A7]+
  341. 00000348  4E5E                     unlink     A6
  342. 0000034A  2E9F                     move.l     [A7], [A7]+
  343. 0000034C  4E75                     rts
  344. 0000034E  8F47 4554                pack       D7, D7, 0x4554
  345. 00000352  5354                     subq.w     [A4], 1
  346. 00000354  5249                     addq.w     A1, 1
  347. 00000356  4E47                     trap       7
  348. 00000358  4E55 4D42                link       A5, -0xFFFFB2BE
  349. 0000035C  4552                     chk.w      D2, [A2]
  350. 0000035E  0008 03FF                ori.b      A0, 0xFF
  351. 00000362  0000 0000                ori.b      D0, 0x0
  352. 00000366  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  353. // begin alternate branch 00000368-0000036C
  354. fn00000368:
  355. 00000368  4E56 FFF8                link       A6, -0x0008
  356. // end alternate branch 00000368-0000036C
  357. fn00000368: // (misaligned)
  358. 0000036A  FFF8                     .extension 0xFF8 // unimplemented
  359. 0000036C  206E 0008                movea.l    A0, [A6 + 0x8]
  360. 00000370  43EE FFF8                lea.l      A1, [A6 - 0x8]
  361. 00000374  22D8                     move.l     [A1]+, [A0]+
  362. 00000376  22D8                     move.l     [A1]+, [A0]+
  363. 00000378  2D6E FFFC 000C           move.l     [A6 + 0xC], [A6 - 0x4]
  364. 0000037E  4E5E                     unlink     A6
  365. 00000380  2E9F                     move.l     [A7], [A7]+
  366. 00000382  4E75                     rts
  367. 00000384  8B41 544F                pack       D5, D1, 0x544F
  368. 00000388  4D49                     chk.w      D6, A1
  369. 0000038A  4356                     chk.w      D1, [A6]
  370. 0000038C  414C                     chk.w      D0, A4
  371. 0000038E  5545                     subq.w     D5, 2
  372. 00000390  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  373. export_371: // at 00000392 (misaligned)
  374. 00000394  FEEE                     .extension 0xEEE // unimplemented
  375. 00000396  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  376. 0000039A  422D FDFA                clr.b      [A5 - 0x206]
  377. 0000039E  42A7                     clr.l      -[A7]
  378. 000003A0  2F3C 7665 7273           move.l     -[A7], 0x76657273 /* 'vers' */
  379. 000003A6  3F3C 0001                move.w     -[A7], 0x1
  380. 000003AA  A9A0                     trap       GetResource
  381. 000003AC  265F                     movea.l    A3, [A7]+
  382. 000003AE  200B                     move.l     D0, A3
  383. 000003B0  6766                     beq        +0x68 /* 00000418 */
  384. 000003B2  2853                     movea.l    A4, [A3]
  385. 000003B4  5C8C                     addq.l     A4, 6
  386. 000003B6  1014                     move.b     D0, [A4]
  387. 000003B8  4880                     ext.w      D0
  388. 000003BA  675C                     beq        +0x5E /* 00000418 */
  389. 000003BC  1014                     move.b     D0, [A4]
  390. 000003BE  4880                     ext.w      D0
  391. 000003C0  3D40 FEF0                move.w     [A6 - 0x110], D0
  392. 000003C4  7E01                     moveq.l    D7, 0x01
  393. 000003C6  604A                     bra        +0x4C /* 00000412 */
  394. label000003C8:
  395. 000003C8  3007                     move.w     D0, D7
  396. 000003CA  48C0                     ext.l      D0
  397. 000003CC  2C00                     move.l     D6, D0
  398. 000003CE  DC8C                     add.l      D6, A4
  399. 000003D0  486D FDFA                pea.l      [A5 - 0x206]
  400. 000003D4  2046                     movea.l    A0, D6
  401. 000003D6  1010                     move.b     D0, [A0]
  402. 000003D8  4880                     ext.w      D0
  403. 000003DA  323C 0100                move.w     D1, 0x100
  404. 000003DE  1200                     move.b     D1, D0
  405. 000003E0  3D41 FEEE                move.w     [A6 - 0x112], D1
  406. 000003E4  486E FEEE                pea.l      [A6 - 0x112]
  407. 000003E8  486E FEF2                pea.l      [A6 - 0x10E]
  408. 000003EC  3F3C 0002                move.w     -[A7], 0x2
  409. 000003F0  4EAD 0F32                jsr        [A5 + 0xF32]
  410. 000003F4  41EE FEF2                lea.l      A0, [A6 - 0x10E]
  411. 000003F8  1F10                     move.b     -[A7], [A0]
  412. 000003FA  3F3C 00FF                move.w     -[A7], 0xFF
  413. 000003FE  4EAD 0F22                jsr        [A5 + 0xF22]
  414. 00000402  43ED FDFA                lea.l      A1, [A5 - 0x206]
  415. 00000406  703F                     moveq.l    D0, 0x3F
  416. label00000408:
  417. 00000408  22D8                     move.l     [A1]+, [A0]+
  418. 0000040A  51C8 FFFC                dbf        D0, -0x6 /* 00000408 */
  419. 0000040E  5247                     addq.w     D7, 1
  420. 00000410  6906                     bvs        +0x8 /* 00000418 */
  421. label00000412:
  422. 00000412  BE6E FEF0                cmp.w      D7, [A6 - 0x110]
  423. 00000416  6FB0                     ble        -0x4E /* 000003C8 */
  424. label00000418:
  425. 00000418  4CDF 18C0                movem.l    A4,A3,D7,D6, [A7]+
  426. 0000041C  4E5E                     unlink     A6
  427. 0000041E  4E75                     rts
  428. 00000420  9047                     sub.w      D0, D7
  429. 00000422  4554                     chk.w      D2, [A4]
  430. 00000424  5645                     addq.w     D5, 3
  431. 00000426  5253                     addq.w     [A3], 1
  432. 00000428  494F                     chk.w      D4, A7
  433. 0000042A  4E53 5452                link       A3, -0xFFFFABAE
  434. 0000042E  494E                     chk.w      D4, A6
  435. 00000430  4700                     .invalid   3, D0 // invalid opcode 4 with b == 4
  436. 00000432  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  437. export_372: // at 00000434 (misaligned)
  438. 00000436  0000 3F2E                ori.b      D0, 0x2E /* '.' */
  439. 0000043A  000C 2F2E                ori.b      A4, 0x2E /* '.' */
  440. 0000043E  0008 4EAD                ori.b      A0, 0xAD
  441. 00000442  0F0A                     btst       A2, D7
  442. 00000444  4E5E                     unlink     A6
  443. 00000446  205F                     movea.l    A0, [A7]+
  444. 00000448  5C4F                     addq.w     A7, 6
  445. 0000044A  4ED0                     jmp        [A0]
  446. 0000044C  8E47                     or.w       D7, D7
  447. 0000044E  4554                     chk.w      D2, [A4]
  448. 00000450  4552                     chk.w      D2, [A2]
  449. 00000452  524F                     addq.w     A7, 1
  450. 00000454  5253                     addq.w     [A3], 1
  451. 00000456  5452                     addq.w     [A2], 2
  452. 00000458  494E                     chk.w      D4, A6
  453. 0000045A  4700                     .invalid   3, D0 // invalid opcode 4 with b == 4
  454. 0000045C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  455. // begin alternate branch 0000045E-0000046C
  456. export_373:
  457. fn0000045E:
  458. 0000045E  4E56 0000                link       A6, 0
  459. 00000462  202E 000C                move.l     D0, [A6 + 0xC]
  460. 00000466  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  461. 0000046A  6F08                     ble        +0xA /* 00000474 */
  462. // end alternate branch 0000045E-0000046C
  463. export_373: // at 0000045E (misaligned)
  464. fn0000045E: // (misaligned)
  465. 00000460  0000 202E                ori.b      D0, 0x2E /* '.' */
  466. 00000464  000C B0AE                ori.b      A4, 0xAE
  467. 00000468  0008 6F08                ori.b      A0, 0x8
  468. 0000046C  2D6E 0008 0010           move.l     [A6 + 0x10], [A6 + 0x8]
  469. 00000472  6006                     bra        +0x8 /* 0000047A */
  470. label00000474:
  471. 00000474  2D6E 000C 0010           move.l     [A6 + 0x10], [A6 + 0xC]
  472. label0000047A:
  473. 0000047A  4E5E                     unlink     A6
  474. 0000047C  205F                     movea.l    A0, [A7]+
  475. 0000047E  504F                     addq.w     A7, 8
  476. 00000480  4ED0                     jmp        [A0]
  477. 00000482  8A49                     or.w       D5, A1
  478. 00000484  4E54 4547                link       A4, -0xFFFFBAB9
  479. 00000488  4552                     chk.w      D2, [A2]
  480. 0000048A  4D49                     chk.w      D6, A1
  481. 0000048C  4E00                     .invalid   // invalid opcode 4
  482. 0000048E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  483. // begin alternate branch 00000490-0000049E
  484. fn00000490:
  485. 00000490  4E56 0000                link       A6, 0
  486. 00000494  202E 000C                move.l     D0, [A6 + 0xC]
  487. 00000498  B0AE 0008                cmp.l      D0, [A6 + 0x8]
  488. 0000049C  6C08                     bge        +0xA /* 000004A6 */
  489. // end alternate branch 00000490-0000049E
  490. fn00000490: // (misaligned)
  491. 00000492  0000 202E                ori.b      D0, 0x2E /* '.' */
  492. 00000496  000C B0AE                ori.b      A4, 0xAE
  493. 0000049A  0008 6C08                ori.b      A0, 0x8
  494. 0000049E  2D6E 0008 0010           move.l     [A6 + 0x10], [A6 + 0x8]
  495. 000004A4  6006                     bra        +0x8 /* 000004AC */
  496. label000004A6:
  497. 000004A6  2D6E 000C 0010           move.l     [A6 + 0x10], [A6 + 0xC]
  498. label000004AC:
  499. 000004AC  4E5E                     unlink     A6
  500. 000004AE  205F                     movea.l    A0, [A7]+
  501. 000004B0  504F                     addq.w     A7, 8
  502. 000004B2  4ED0                     jmp        [A0]
  503. 000004B4  8A49                     or.w       D5, A1
  504. 000004B6  4E54 4547                link       A4, -0xFFFFBAB9
  505. 000004BA  4552                     chk.w      D2, [A2]
  506. 000004BC  4D41                     chk.w      D6, D1
  507. 000004BE  5800                     addq.b     D0, 4
  508. 000004C0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  509. export_374: // at 000004C2 (misaligned)
  510. 000004C4  FEFA                     .extension 0xEFA // unimplemented
  511. 000004C6  48E7 0108                movem.l    -[A7], D7,A4
  512. 000004CA  206E 000C                movea.l    A0, [A6 + 0xC]
  513. 000004CE  43EE FF00                lea.l      A1, [A6 - 0x100]
  514. 000004D2  703F                     moveq.l    D0, 0x3F
  515. label000004D4:
  516. 000004D4  22D8                     move.l     [A1]+, [A0]+
  517. 000004D6  51C8 FFFC                dbf        D0, -0x6 /* 000004D4 */
  518. 000004DA  42A7                     clr.l      -[A7]
  519. 000004DC  7050                     moveq.l    D0, 0x50
  520. 000004DE  2F00                     move.l     -[A7], D0
  521. 000004E0  4EAD 03C2                jsr        [A5 + 0x3C2]
  522. 000004E4  285F                     movea.l    A4, [A7]+
  523. 000004E6  41EE FF00                lea.l      A0, [A6 - 0x100]
  524. 000004EA  2948 0012                move.l     [A4 + 0x12], A0
  525. 000004EE  4267                     clr.w      -[A7]
  526. 000004F0  2F0C                     move.l     -[A7], A4
  527. 000004F2  4267                     clr.w      -[A7]
  528. 000004F4  4EAD 03EA                jsr        [A5 + 0x3EA]
  529. 000004F8  3E1F                     move.w     D7, [A7]+
  530. 000004FA  6608                     bne        +0xA /* 00000504 */
  531. 000004FC  206E 0008                movea.l    A0, [A6 + 0x8]
  532. 00000500  20AC 0036                move.l     [A0], [A4 + 0x36]
  533. label00000504:
  534. 00000504  2F0C                     move.l     -[A7], A4
  535. 00000506  205F                     movea.l    A0, [A7]+
  536. 00000508  A01F                     trap       DisposPtr/DisposePtr
  537. 0000050A  3D47 0010                move.w     [A6 + 0x10], D7
  538. 0000050E  4CDF 1080                movem.l    A4,D7, [A7]+
  539. 00000512  4E5E                     unlink     A6
  540. 00000514  205F                     movea.l    A0, [A7]+
  541. 00000516  504F                     addq.w     A7, 8
  542. 00000518  4ED0                     jmp        [A0]
  543. 0000051A  8B47 4554                pack       D5, D7, 0x4554
  544. 0000051E  4649                     not.w      A1
  545. 00000520  4C45 5349                movem.l    A6,A4,A1,A0,D6,D3,D0, D5
  546. 00000524  5A45                     addq.w     D5, 5
  547. 00000526  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  548. export_375: // at 00000528 (misaligned)
  549. 0000052A  FFDA                     .extension 0xFDA // unimplemented
  550. 0000052C  2F0C                     move.l     -[A7], A4
  551. 0000052E  206E 000A                movea.l    A0, [A6 + 0xA]
  552. 00000532  43EE FFF8                lea.l      A1, [A6 - 0x8]
  553. 00000536  22D8                     move.l     [A1]+, [A0]+
  554. 00000538  22D8                     move.l     [A1]+, [A0]+
  555. 0000053A  486E FFDA                pea.l      [A6 - 0x26]
  556. 0000053E  A874                     trap       GetPort
  557. 00000540  42A7                     clr.l      -[A7]
  558. 00000542  2F3C 5349 434E           move.l     -[A7], 0x5349434E /* 'SICN' */
  559. 00000548  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  560. 0000054C  A9A0                     trap       GetResource
  561. 0000054E  285F                     movea.l    A4, [A7]+
  562. 00000550  200C                     move.l     D0, A4
  563. 00000552  6752                     beq        +0x54 /* 000005A6 */
  564. 00000554  2F0C                     move.l     -[A7], A4
  565. 00000556  205F                     movea.l    A0, [A7]+
  566. 00000558  A029                     trap       HLock
  567. 0000055A  486E FFDE                pea.l      [A6 - 0x22]
  568. 0000055E  42A7                     clr.l      -[A7]
  569. 00000560  2F3C 0010 0010           move.l     -[A7], 0x100010
  570. 00000566  A8A7                     trap       SetRect
  571. 00000568  2D54 FFE6                move.l     [A6 - 0x1A], [A4]
  572. 0000056C  3D7C 0002 FFEA           move.w     [A6 - 0x16], 0x2
  573. 00000572  41EE FFEC                lea.l      A0, [A6 - 0x14]
  574. 00000576  43EE FFDE                lea.l      A1, [A6 - 0x22]
  575. 0000057A  20D9                     move.l     [A0]+, [A1]+
  576. 0000057C  20D9                     move.l     [A0]+, [A1]+
  577. 0000057E  486E FFF8                pea.l      [A6 - 0x8]
  578. 00000582  A8A3                     trap       EraseRect
  579. 00000584  486E FFE6                pea.l      [A6 - 0x1A]
  580. 00000588  206E FFDA                movea.l    A0, [A6 - 0x26]
  581. 0000058C  4868 0002                pea.l      [A0 + 0x2]
  582. 00000590  486E FFDE                pea.l      [A6 - 0x22]
  583. 00000594  486E FFF8                pea.l      [A6 - 0x8]
  584. 00000598  3F3C 0001                move.w     -[A7], 0x1
  585. 0000059C  42A7                     clr.l      -[A7]
  586. 0000059E  A8EC                     trap       CopyBits
  587. 000005A0  2F0C                     move.l     -[A7], A4
  588. 000005A2  205F                     movea.l    A0, [A7]+
  589. 000005A4  A02A                     trap       HUnlock
  590. label000005A6:
  591. 000005A6  285F                     movea.l    A4, [A7]+
  592. 000005A8  4E5E                     unlink     A6
  593. 000005AA  205F                     movea.l    A0, [A7]+
  594. 000005AC  5C4F                     addq.w     A7, 6
  595. 000005AE  4ED0                     jmp        [A0]
  596. 000005B0  8850                     or.w       D4, [A0]
  597. 000005B2  4C4F 5453                movem.l    A6,A4,A2,D6,D4,D1,D0, A7
  598. 000005B6  4943                     chk.w      D4, D3
  599. 000005B8  4E00                     .invalid   // invalid opcode 4
  600. 000005BA  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  601. // begin alternate branch 000005BC-000005C0
  602. export_376:
  603. fn000005BC:
  604. 000005BC  4E56 FFE2                link       A6, -0x001E
  605. // end alternate branch 000005BC-000005C0
  606. export_376: // at 000005BC (misaligned)
  607. fn000005BC: // (misaligned)
  608. 000005BE  FFE2                     .extension 0xFE2 // unimplemented
  609. label000005C0:
  610. 000005C0  486E FFE8                pea.l      [A6 - 0x18]
  611. 000005C4  A874                     trap       GetPort
  612. 000005C6  2F3C 0040 0000           move.l     -[A7], 0x400000 /* '@\0\0' */
  613. 000005CC  486E FFF0                pea.l      [A6 - 0x10]
  614. 000005D0  A970                     trap       GetNextEvent
  615. 000005D2  101F                     move.b     D0, [A7]+
  616. 000005D4  675C                     beq        +0x5E /* 00000632 */
  617. 000005D6  7006                     moveq.l    D0, 0x06
  618. 000005D8  B06E FFF0                cmp.w      D0, [A6 - 0x10]
  619. 000005DC  6654                     bne        +0x56 /* 00000632 */
  620. 000005DE  4267                     clr.w      -[A7]
  621. 000005E0  486E FFF0                pea.l      [A6 - 0x10]
  622. 000005E4  A97F                     trap       IsDialogEvent
  623. 000005E6  101F                     move.b     D0, [A7]+
  624. 000005E8  6728                     beq        +0x2A /* 00000612 */
  625. 000005EA  4267                     clr.w      -[A7]
  626. 000005EC  486E FFF0                pea.l      [A6 - 0x10]
  627. 000005F0  486E FFE4                pea.l      [A6 - 0x1C]
  628. 000005F4  486E FFE2                pea.l      [A6 - 0x1E]
  629. 000005F8  A980                     trap       DialogSelect
  630. 000005FA  101F                     move.b     D0, [A7]+
  631. 000005FC  6714                     beq        +0x16 /* 00000612 */
  632. 000005FE  42A7                     clr.l      -[A7]
  633. 00000600  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  634. 00000604  42A7                     clr.l      -[A7]
  635. 00000606  3F3C 0003                move.w     -[A7], 0x3
  636. 0000060A  4EAD 04D2                jsr        [A5 + 0x4D2]
  637. 0000060E  2D5F FFEC                move.l     [A6 - 0x14], [A7]+
  638. label00000612:
  639. 00000612  206E FFF2                movea.l    A0, [A6 - 0xE]
  640. 00000616  7008                     moveq.l    D0, 0x08
  641. 00000618  B068 006C                cmp.w      D0, [A0 + 0x6C]
  642. 0000061C  6E14                     bgt        +0x16 /* 00000632 */
  643. 0000061E  42A7                     clr.l      -[A7]
  644. 00000620  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  645. 00000624  42A7                     clr.l      -[A7]
  646. 00000626  3F3C 0003                move.w     -[A7], 0x3
  647. 0000062A  4EAD 04D2                jsr        [A5 + 0x4D2]
  648. 0000062E  2D5F FFEC                move.l     [A6 - 0x14], [A7]+
  649. label00000632:
  650. 00000632  4A6E FFF0                tst.w      [A6 - 0x10]
  651. 00000636  6688                     bne        -0x76 /* 000005C0 */
  652. 00000638  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  653. 0000063C  A873                     trap       SetPort
  654. 0000063E  4E5E                     unlink     A6
  655. 00000640  4E75                     rts
  656. 00000642  8944 4F55                pack       D4, D4, 0x4F55
  657. 00000646  5044                     addq.w     D4, 8
  658. 00000648  4154                     chk.w      D0, [A4]
  659. 0000064A  4553                     chk.w      D2, [A3]
  660. 0000064C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  661. export_377: // at 0000064E (misaligned)
  662. 00000650  FFE4                     .extension 0xFE4 // unimplemented
  663. 00000652  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  664. 00000656  266E 0010                movea.l    A3, [A6 + 0x10]
  665. 0000065A  286E 000C                movea.l    A4, [A6 + 0xC]
  666. 0000065E  70FF                     moveq.l    D0, 0xFFFFFFFF
  667. 00000660  B06B 00A4                cmp.w      D0, [A3 + 0xA4]
  668. 00000664  6752                     beq        +0x54 /* 000006B8 */
  669. 00000666  486E FFE4                pea.l      [A6 - 0x1C]
  670. 0000066A  A874                     trap       GetPort
  671. 0000066C  2F0B                     move.l     -[A7], A3
  672. 0000066E  A873                     trap       SetPort
  673. 00000670  2F0B                     move.l     -[A7], A3
  674. 00000672  302B 00A4                move.w     D0, [A3 + 0xA4]
  675. 00000676  5240                     addq.w     D0, 1
  676. 00000678  3F00                     move.w     -[A7], D0
  677. 0000067A  486E FFF4                pea.l      [A6 - 0xC]
  678. 0000067E  486E FFF0                pea.l      [A6 - 0x10]
  679. 00000682  486E FFE8                pea.l      [A6 - 0x18]
  680. 00000686  A98D                     trap       GetDialogItem/GetDItem
  681. 00000688  2D6C 000A FFF6           move.l     [A6 - 0xA], [A4 + 0xA]
  682. 0000068E  486E FFF6                pea.l      [A6 - 0xA]
  683. 00000692  A871                     trap       GlobalToLocal
  684. 00000694  4267                     clr.w      -[A7]
  685. 00000696  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  686. 0000069A  486E FFE8                pea.l      [A6 - 0x18]
  687. 0000069E  A8AD                     trap       PtInRect
  688. 000006A0  101F                     move.b     D0, [A7]+
  689. 000006A2  670A                     beq        +0xC /* 000006AE */
  690. 000006A4  3F3C 0081                move.w     -[A7], 0x81
  691. 000006A8  4EAD 0992                jsr        [A5 + 0x992]
  692. 000006AC  6004                     bra        +0x6 /* 000006B2 */
  693. label000006AE:
  694. 000006AE  4EAD 098A                jsr        [A5 + 0x98A]
  695. label000006B2:
  696. 000006B2  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  697. 000006B6  A873                     trap       SetPort
  698. label000006B8:
  699. 000006B8  422E 0014                clr.b      [A6 + 0x14]
  700. 000006BC  3014                     move.w     D0, [A4]
  701. 000006BE  5740                     subq.w     D0, 3
  702. 000006C0  670A                     beq        +0xC /* 000006CC */
  703. 000006C2  5740                     subq.w     D0, 3
  704. 000006C4  6700 0160                beq        +0x162 /* 00000826 */
  705. 000006C8  6000 017A                bra        +0x17C /* 00000844 */
  706. label000006CC:
  707. 000006CC  42A7                     clr.l      -[A7]
  708. 000006CE  302C 000E                move.w     D0, [A4 + 0xE]
  709. 000006D2  48C0                     ext.l      D0
  710. 000006D4  2F00                     move.l     -[A7], D0
  711. 000006D6  2F3C 0000 0100           move.l     -[A7], 0x100
  712. 000006DC  A858                     trap       BitAnd
  713. 000006DE  0C9F 0000 0100           cmpi.l     [A7]+, 0x100
  714. 000006E4  6602                     bne        +0x4 /* 000006E8 */
  715. 000006E6  4254                     clr.w      [A4]
  716. label000006E8:
  717. 000006E8  42A7                     clr.l      -[A7]
  718. 000006EA  2F2C 0002                move.l     -[A7], [A4 + 0x2]
  719. 000006EE  2F3C 0000 00FF           move.l     -[A7], 0xFF
  720. 000006F4  A858                     trap       BitAnd
  721. 000006F6  201F                     move.l     D0, [A7]+
  722. 000006F8  5740                     subq.w     D0, 3
  723. 000006FA  6738                     beq        +0x3A /* 00000734 */
  724. 000006FC  0440 000A                subi.w     D0, 0xA /* '\n' */
  725. 00000700  6732                     beq        +0x34 /* 00000734 */
  726. 00000702  0440 0021                subi.w     D0, 0x21 /* '!' */
  727. 00000706  673E                     beq        +0x40 /* 00000746 */
  728. 00000708  0440 0015                subi.w     D0, 0x15
  729. 0000070C  6700 00A6                beq        +0xA8 /* 000007B4 */
  730. 00000710  0440 0013                subi.w     D0, 0x13
  731. 00000714  6700 00DA                beq        +0xDC /* 000007F0 */
  732. 00000718  5540                     subq.w     D0, 2
  733. 0000071A  6758                     beq        +0x5A /* 00000774 */
  734. 0000071C  0440 000B                subi.w     D0, 0xB
  735. 00000720  6700 0092                beq        +0x94 /* 000007B4 */
  736. 00000724  0440 0013                subi.w     D0, 0x13
  737. 00000728  6700 00C6                beq        +0xC8 /* 000007F0 */
  738. 0000072C  5540                     subq.w     D0, 2
  739. 0000072E  6744                     beq        +0x46 /* 00000774 */
  740. 00000730  6000 0112                bra        +0x114 /* 00000844 */
  741. label00000734:
  742. 00000734  206E 0008                movea.l    A0, [A6 + 0x8]
  743. 00000738  30BC 0001                move.w     [A0], 0x1
  744. 0000073C  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  745. 00000742  6000 0100                bra        +0x102 /* 00000844 */
  746. label00000746:
  747. 00000746  42A7                     clr.l      -[A7]
  748. 00000748  302C 000E                move.w     D0, [A4 + 0xE]
  749. 0000074C  48C0                     ext.l      D0
  750. 0000074E  2F00                     move.l     -[A7], D0
  751. 00000750  2F3C 0000 0100           move.l     -[A7], 0x100
  752. 00000756  A858                     trap       BitAnd
  753. 00000758  0C9F 0000 0100           cmpi.l     [A7]+, 0x100
  754. 0000075E  6600 00E4                bne        +0xE6 /* 00000844 */
  755. 00000762  206E 0008                movea.l    A0, [A6 + 0x8]
  756. 00000766  30BC 0002                move.w     [A0], 0x2
  757. 0000076A  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  758. 00000770  6000 00D2                bra        +0xD4 /* 00000844 */
  759. label00000774:
  760. 00000774  42A7                     clr.l      -[A7]
  761. 00000776  302C 000E                move.w     D0, [A4 + 0xE]
  762. 0000077A  48C0                     ext.l      D0
  763. 0000077C  2F00                     move.l     -[A7], D0
  764. 0000077E  2F3C 0000 0100           move.l     -[A7], 0x100
  765. 00000784  A858                     trap       BitAnd
  766. 00000786  0C9F 0000 0100           cmpi.l     [A7]+, 0x100
  767. 0000078C  57C0                     seq        D0
  768. 0000078E  72FF                     moveq.l    D1, 0xFFFFFFFF
  769. 00000790  B26B 00A4                cmp.w      D1, [A3 + 0xA4]
  770. 00000794  56C1                     sne        D1
  771. 00000796  C001                     and.b      D0, D1
  772. 00000798  6700 00AA                beq        +0xAC /* 00000844 */
  773. 0000079C  2F2B 00A0                move.l     -[A7], [A3 + 0xA0]
  774. 000007A0  A9D6                     trap       TECut
  775. 000007A2  42A7                     clr.l      -[A7]
  776. 000007A4  A9FC                     trap       ZeroScrap
  777. 000007A6  2E1F                     move.l     D7, [A7]+
  778. 000007A8  4267                     clr.w      -[A7]
  779. 000007AA  4EAD 0422                jsr        [A5 + 0x422]
  780. 000007AE  3C1F                     move.w     D6, [A7]+
  781. 000007B0  6000 0092                bra        +0x94 /* 00000844 */
  782. label000007B4:
  783. 000007B4  42A7                     clr.l      -[A7]
  784. 000007B6  302C 000E                move.w     D0, [A4 + 0xE]
  785. 000007BA  48C0                     ext.l      D0
  786. 000007BC  2F00                     move.l     -[A7], D0
  787. 000007BE  2F3C 0000 0100           move.l     -[A7], 0x100
  788. 000007C4  A858                     trap       BitAnd
  789. 000007C6  0C9F 0000 0100           cmpi.l     [A7]+, 0x100
  790. 000007CC  57C0                     seq        D0
  791. 000007CE  72FF                     moveq.l    D1, 0xFFFFFFFF
  792. 000007D0  B26B 00A4                cmp.w      D1, [A3 + 0xA4]
  793. 000007D4  56C1                     sne        D1
  794. 000007D6  C001                     and.b      D0, D1
  795. 000007D8  676A                     beq        +0x6C /* 00000844 */
  796. 000007DA  2F2B 00A0                move.l     -[A7], [A3 + 0xA0]
  797. 000007DE  A9D5                     trap       TECopy
  798. 000007E0  42A7                     clr.l      -[A7]
  799. 000007E2  A9FC                     trap       ZeroScrap
  800. 000007E4  2E1F                     move.l     D7, [A7]+
  801. 000007E6  4267                     clr.w      -[A7]
  802. 000007E8  4EAD 0422                jsr        [A5 + 0x422]
  803. 000007EC  3C1F                     move.w     D6, [A7]+
  804. 000007EE  6054                     bra        +0x56 /* 00000844 */
  805. label000007F0:
  806. 000007F0  42A7                     clr.l      -[A7]
  807. 000007F2  302C 000E                move.w     D0, [A4 + 0xE]
  808. 000007F6  48C0                     ext.l      D0
  809. 000007F8  2F00                     move.l     -[A7], D0
  810. 000007FA  2F3C 0000 0100           move.l     -[A7], 0x100
  811. 00000800  A858                     trap       BitAnd
  812. 00000802  0C9F 0000 0100           cmpi.l     [A7]+, 0x100
  813. 00000808  57C0                     seq        D0
  814. 0000080A  72FF                     moveq.l    D1, 0xFFFFFFFF
  815. 0000080C  B26B 00A4                cmp.w      D1, [A3 + 0xA4]
  816. 00000810  56C1                     sne        D1
  817. 00000812  C001                     and.b      D0, D1
  818. 00000814  672E                     beq        +0x30 /* 00000844 */
  819. 00000816  4267                     clr.w      -[A7]
  820. 00000818  4EAD 041A                jsr        [A5 + 0x41A]
  821. 0000081C  3C1F                     move.w     D6, [A7]+
  822. 0000081E  2F2B 00A0                move.l     -[A7], [A3 + 0xA0]
  823. 00000822  A9DB                     trap       TEPaste
  824. 00000824  601E                     bra        +0x20 /* 00000844 */
  825. label00000826:
  826. 00000826  206C 0002                movea.l    A0, [A4 + 0x2]
  827. 0000082A  7008                     moveq.l    D0, 0x08
  828. 0000082C  B068 006C                cmp.w      D0, [A0 + 0x6C]
  829. 00000830  6E12                     bgt        +0x14 /* 00000844 */
  830. 00000832  42A7                     clr.l      -[A7]
  831. 00000834  2F2C 0002                move.l     -[A7], [A4 + 0x2]
  832. 00000838  42A7                     clr.l      -[A7]
  833. 0000083A  3F3C 0003                move.w     -[A7], 0x3
  834. 0000083E  4EAD 04D2                jsr        [A5 + 0x4D2]
  835. 00000842  2E1F                     move.l     D7, [A7]+
  836. label00000844:
  837. 00000844  4CDF 18C0                movem.l    A4,A3,D7,D6, [A7]+
  838. 00000848  4E5E                     unlink     A6
  839. 0000084A  205F                     movea.l    A0, [A7]+
  840. 0000084C  DEFC 000C                add.w      A7, 0xC
  841. 00000850  4ED0                     jmp        [A0]
  842. 00000852  934D                     subx.w     -[A1], -[A5]
  843. 00000854  594D                     subq.w     A5, 4
  844. 00000856  4F44                     chk.w      D7, D4
  845. 00000858  414C                     chk.w      D0, A4
  846. 0000085A  4449                     neg.w      A1
  847. 0000085C  414C                     chk.w      D0, A4
  848. 0000085E  4F47                     chk.w      D7, D7
  849. 00000860  4649                     not.w      A1
  850. 00000862  4C54 4552                movem.l    A6,A2,A0,D6,D4,D1, [A4]
  851. 00000866  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  852. export_378: // at 00000868 (misaligned)
  853. 0000086A  FDCE                     .extension 0xDCE // unimplemented
  854. 0000086C  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  855. 00000870  266E 000C                movea.l    A3, [A6 + 0xC]
  856. 00000874  486E FDEA                pea.l      [A6 - 0x216]
  857. 00000878  A874                     trap       GetPort
  858. 0000087A  2F0B                     move.l     -[A7], A3
  859. 0000087C  A873                     trap       SetPort
  860. 0000087E  7C01                     moveq.l    D6, 0x01
  861. 00000880  4267                     clr.w      -[A7]
  862. 00000882  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  863. 00000886  A86A                     trap       HiWord
  864. 00000888  3A1F                     move.w     D5, [A7]+
  865. 0000088A  4267                     clr.w      -[A7]
  866. 0000088C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  867. 00000890  A86B                     trap       LoWord
  868. 00000892  381F                     move.w     D4, [A7]+
  869. 00000894  42A7                     clr.l      -[A7]
  870. 00000896  3F05                     move.w     -[A7], D5
  871. 00000898  A9BF                     trap       GetRMenu
  872. 0000089A  2D57 FFFC                move.l     [A6 - 0x4], [A7]
  873. 0000089E  3F04                     move.w     -[A7], D4
  874. 000008A0  486E FDFC                pea.l      [A6 - 0x204]
  875. 000008A4  A946                     trap       GetMenuItemText/GetItem
  876. 000008A6  3005                     move.w     D0, D5
  877. 000008A8  0440 00AF                subi.w     D0, 0xAF
  878. 000008AC  6708                     beq        +0xA /* 000008B6 */
  879. 000008AE  5340                     subq.w     D0, 1
  880. 000008B0  6764                     beq        +0x66 /* 00000916 */
  881. 000008B2  6000 0100                bra        +0x102 /* 000009B4 */
  882. label000008B6:
  883. 000008B6  41EE FDFC                lea.l      A0, [A6 - 0x204]
  884. 000008BA  1F10                     move.b     -[A7], [A0]
  885. 000008BC  3F3C 00FF                move.w     -[A7], 0xFF
  886. 000008C0  4EAD 0F22                jsr        [A5 + 0xF22]
  887. 000008C4  2F08                     move.l     -[A7], A0
  888. 000008C6  486E FDFA                pea.l      [A6 - 0x206]
  889. 000008CA  A900                     trap       GetFNum
  890. 000008CC  3F2E FDFA                move.w     -[A7], [A6 - 0x206]
  891. 000008D0  A887                     trap       TextFont
  892. 000008D2  42A7                     clr.l      -[A7]
  893. 000008D4  2F2B 023C                move.l     -[A7], [A3 + 0x23C]
  894. 000008D8  3F3C 0004                move.w     -[A7], 0x4
  895. 000008DC  A83D                     trap       TEDispatch
  896. 000008DE  205F                     movea.l    A0, [A7]+
  897. 000008E0  2850                     movea.l    A4, [A0]
  898. 000008E2  302C 0002                move.w     D0, [A4 + 0x2]
  899. 000008E6  5340                     subq.w     D0, 1
  900. 000008E8  3D40 FDD8                move.w     [A6 - 0x228], D0
  901. 000008EC  4247                     clr.w      D7
  902. 000008EE  601C                     bra        +0x1E /* 0000090C */
  903. label000008F0:
  904. 000008F0  206C 0004                movea.l    A0, [A4 + 0x4]
  905. 000008F4  2050                     movea.l    A0, [A0]
  906. 000008F6  3007                     move.w     D0, D7
  907. 000008F8  41BC 06F0 C1FC           .invalid   0, 0x6F0C1FC // invalid opcode 4 with b == 6
  908. 000008FE  0012 31AE                ori.b      [A2], 0xAE
  909. 00000902  FDFA                     .extension 0xDFA // unimplemented
  910. 00000904  0006 5247                ori.b      D6, 0x47 /* 'G' */
  911. 00000908  6900 00AC                bvs        +0xAE /* 000009B6 */
  912. label0000090C:
  913. 0000090C  BE6E FDD8                cmp.w      D7, [A6 - 0x228]
  914. 00000910  6FDE                     ble        -0x20 /* 000008F0 */
  915. 00000912  6000 00A2                bra        +0xA4 /* 000009B6 */
  916. label00000916:
  917. 00000916  41EE FDFC                lea.l      A0, [A6 - 0x204]
  918. 0000091A  1F10                     move.b     -[A7], [A0]
  919. 0000091C  3F3C 00FF                move.w     -[A7], 0xFF
  920. 00000920  4EAD 0F22                jsr        [A5 + 0xF22]
  921. 00000924  2F08                     move.l     -[A7], A0
  922. 00000926  486E FDF0                pea.l      [A6 - 0x210]
  923. 0000092A  4EAD 0442                jsr        [A5 + 0x442]
  924. 0000092E  2F2E FDF0                move.l     -[A7], [A6 - 0x210]
  925. 00000932  2F3C 0000 03E8           move.l     -[A7], 0x3E8
  926. 00000938  4EAD 0F1A                jsr        [A5 + 0xF1A]
  927. 0000093C  2D5F FDF0                move.l     [A6 - 0x210], [A7]+
  928. 00000940  3F2E FDF2                move.w     -[A7], [A6 - 0x20E]
  929. 00000944  A88A                     trap       TextSize
  930. 00000946  486E FDDA                pea.l      [A6 - 0x226]
  931. 0000094A  A88B                     trap       GetFontInfo
  932. 0000094C  42A7                     clr.l      -[A7]
  933. 0000094E  2F2B 023C                move.l     -[A7], [A3 + 0x23C]
  934. 00000952  3F3C 0004                move.w     -[A7], 0x4
  935. 00000956  A83D                     trap       TEDispatch
  936. 00000958  205F                     movea.l    A0, [A7]+
  937. 0000095A  2850                     movea.l    A4, [A0]
  938. 0000095C  302C 0002                move.w     D0, [A4 + 0x2]
  939. 00000960  5340                     subq.w     D0, 1
  940. 00000962  3D40 FDD6                move.w     [A6 - 0x22A], D0
  941. 00000966  4247                     clr.w      D7
  942. 00000968  6042                     bra        +0x44 /* 000009AC */
  943. label0000096A:
  944. 0000096A  206C 0004                movea.l    A0, [A4 + 0x4]
  945. 0000096E  2050                     movea.l    A0, [A0]
  946. 00000970  3007                     move.w     D0, D7
  947. 00000972  41BC 06F0 C1FC           .invalid   0, 0x6F0C1FC // invalid opcode 4 with b == 6
  948. 00000978  0012 41F0                ori.b      [A2], 0xF0
  949. 0000097C  0000 2D48                ori.b      D0, 0x48 /* 'H' */
  950. 00000980  FDD2                     .extension 0xDD2 // unimplemented
  951. 00000982  316E FDF2 000A           move.w     [A0 + 0xA], [A6 - 0x20E]
  952. 00000988  206E FDD2                movea.l    A0, [A6 - 0x22E]
  953. 0000098C  316E FDDA 0004           move.w     [A0 + 0x4], [A6 - 0x226]
  954. 00000992  302E FDDC                move.w     D0, [A6 - 0x224]
  955. 00000996  D06E FDDA                add.w      D0, [A6 - 0x226]
  956. 0000099A  322E FDE0                move.w     D1, [A6 - 0x220]
  957. 0000099E  D240                     add.w      D1, D0
  958. 000009A0  206E FDD2                movea.l    A0, [A6 - 0x22E]
  959. 000009A4  3141 0002                move.w     [A0 + 0x2], D1
  960. 000009A8  5247                     addq.w     D7, 1
  961. 000009AA  690A                     bvs        +0xC /* 000009B6 */
  962. label000009AC:
  963. 000009AC  BE6E FDD6                cmp.w      D7, [A6 - 0x22A]
  964. 000009B0  6FB8                     ble        -0x46 /* 0000096A */
  965. 000009B2  6002                     bra        +0x4 /* 000009B6 */
  966. label000009B4:
  967. 000009B4  4206                     clr.b      D6
  968. label000009B6:
  969. 000009B6  1006                     move.b     D0, D6
  970. 000009B8  6700 00AA                beq        +0xAC /* 00000A64 */
  971. 000009BC  2F2B 0348                move.l     -[A7], [A3 + 0x348]
  972. 000009C0  2F3C 0000 01A6           move.l     -[A7], 0x1A6
  973. 000009C6  4EAD 03DA                jsr        [A5 + 0x3DA]
  974. 000009CA  42A7                     clr.l      -[A7]
  975. 000009CC  2F2B 023C                move.l     -[A7], [A3 + 0x23C]
  976. 000009D0  3F3C 0004                move.w     -[A7], 0x4
  977. 000009D4  A83D                     trap       TEDispatch
  978. 000009D6  205F                     movea.l    A0, [A7]+
  979. 000009D8  2050                     movea.l    A0, [A0]
  980. 000009DA  2068 0004                movea.l    A0, [A0 + 0x4]
  981. 000009DE  2050                     movea.l    A0, [A0]
  982. 000009E0  49D0                     lea.l      A4, [A0]
  983. 000009E2  206B 0348                movea.l    A0, [A3 + 0x348]
  984. 000009E6  2050                     movea.l    A0, [A0]
  985. 000009E8  2D48 FDCE                move.l     [A6 - 0x232], A0
  986. 000009EC  3F2C 0006                move.w     -[A7], [A4 + 0x6]
  987. 000009F0  206E FDCE                movea.l    A0, [A6 - 0x232]
  988. 000009F4  4868 00A6                pea.l      [A0 + 0xA6]
  989. 000009F8  A8FF                     trap       GetFName/GetFontName
  990. 000009FA  206E FDCE                movea.l    A0, [A6 - 0x232]
  991. 000009FE  316C 000A 00A4           move.w     [A0 + 0xA4], [A4 + 0xA]
  992. 00000A04  2F2B 0348                move.l     -[A7], [A3 + 0x348]
  993. 00000A08  206B 0348                movea.l    A0, [A3 + 0x348]
  994. 00000A0C  2050                     movea.l    A0, [A0]
  995. 00000A0E  4240                     clr.w      D0
  996. 00000A10  1028 00A6                move.b     D0, [A0 + 0xA6]
  997. 00000A14  D07C 00A6                add.w      D0, 0xA6
  998. 00000A18  5240                     addq.w     D0, 1
  999. 00000A1A  48C0                     ext.l      D0
  1000. 00000A1C  2F00                     move.l     -[A7], D0
  1001. 00000A1E  4EAD 03DA                jsr        [A5 + 0x3DA]
  1002. 00000A22  3D6B 0240 FDFA           move.w     [A6 - 0x206], [A3 + 0x240]
  1003. 00000A28  2F0B                     move.l     -[A7], A3
  1004. 00000A2A  4EAD 0ACA                jsr        [A5 + 0xACA]
  1005. 00000A2E  2F0B                     move.l     -[A7], A3
  1006. 00000A30  4EAD 09BA                jsr        [A5 + 0x9BA]
  1007. 00000A34  3F2E FDFA                move.w     -[A7], [A6 - 0x206]
  1008. 00000A38  2F2B 023C                move.l     -[A7], [A3 + 0x23C]
  1009. 00000A3C  4EAD 03B2                jsr        [A5 + 0x3B2]
  1010. 00000A40  2F0B                     move.l     -[A7], A3
  1011. 00000A42  4EAD 09B2                jsr        [A5 + 0x9B2]
  1012. 00000A46  2F2B 023C                move.l     -[A7], [A3 + 0x23C]
  1013. 00000A4A  A9D0                     trap       TECalText
  1014. 00000A4C  41EE FDE2                lea.l      A0, [A6 - 0x21E]
  1015. 00000A50  43EB 0010                lea.l      A1, [A3 + 0x10]
  1016. 00000A54  20D9                     move.l     [A0]+, [A1]+
  1017. 00000A56  20D9                     move.l     [A0]+, [A1]+
  1018. 00000A58  486E FDE2                pea.l      [A6 - 0x21E]
  1019. 00000A5C  A928                     trap       InvalRect
  1020. 00000A5E  2F0B                     move.l     -[A7], A3
  1021. 00000A60  4EAD 09AA                jsr        [A5 + 0x9AA]
  1022. label00000A64:
  1023. 00000A64  1D46 0010                move.b     [A6 + 0x10], D6
  1024. 00000A68  2F2E FDEA                move.l     -[A7], [A6 - 0x216]
  1025. 00000A6C  A873                     trap       SetPort
  1026. 00000A6E  4CDF 18F0                movem.l    A4,A3,D7,D6,D5,D4, [A7]+
  1027. 00000A72  4E5E                     unlink     A6
  1028. 00000A74  205F                     movea.l    A0, [A7]+
  1029. 00000A76  504F                     addq.w     A7, 8
  1030. 00000A78  4ED0                     jmp        [A0]
  1031. 00000A7A  9146                     subx.w     D0, D6
  1032. 00000A7C  4F52                     chk.w      D7, [A2]
  1033. 00000A7E  4D41                     chk.w      D6, D1
  1034. 00000A80  544D                     addq.w     A5, 2
  1035. 00000A82  454E                     chk.w      D2, A6
  1036. 00000A84  5548                     subq.w     A0, 2
  1037. 00000A86  414E                     chk.w      D0, A6
  1038. 00000A88  444C                     neg.w      A4
  1039. 00000A8A  4552                     chk.w      D2, [A2]
  1040. 00000A8C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1041. export_379: // at 00000A8E (misaligned)
  1042. 00000A90  FDF6                     .extension 0xDF6 // unimplemented
  1043. 00000A92  48E7 0308                movem.l    -[A7], D6,D7,A4
  1044. 00000A96  206E 0008                movea.l    A0, [A6 + 0x8]
  1045. 00000A9A  43EE FF00                lea.l      A1, [A6 - 0x100]
  1046. 00000A9E  703F                     moveq.l    D0, 0x3F
  1047. label00000AA0:
  1048. 00000AA0  22D8                     move.l     [A1]+, [A0]+
  1049. 00000AA2  51C8 FFFC                dbf        D0, -0x6 /* 00000AA0 */
  1050. 00000AA6  426E 000E                clr.w      [A6 + 0xE]
  1051. 00000AAA  42A7                     clr.l      -[A7]
  1052. 00000AAC  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  1053. 00000AB0  A9BF                     trap       GetRMenu
  1054. 00000AB2  285F                     movea.l    A4, [A7]+
  1055. 00000AB4  4267                     clr.w      -[A7]
  1056. 00000AB6  2F0C                     move.l     -[A7], A4
  1057. 00000AB8  A950                     trap       CountMItems
  1058. 00000ABA  3C1F                     move.w     D6, [A7]+
  1059. 00000ABC  6730                     beq        +0x32 /* 00000AEE */
  1060. 00000ABE  3D46 FDF6                move.w     [A6 - 0x20A], D6
  1061. 00000AC2  7E01                     moveq.l    D7, 0x01
  1062. 00000AC4  6022                     bra        +0x24 /* 00000AE8 */
  1063. label00000AC6:
  1064. 00000AC6  2F0C                     move.l     -[A7], A4
  1065. 00000AC8  3F07                     move.w     -[A7], D7
  1066. 00000ACA  486E FDFC                pea.l      [A6 - 0x204]
  1067. 00000ACE  A946                     trap       GetMenuItemText/GetItem
  1068. 00000AD0  486E FDFC                pea.l      [A6 - 0x204]
  1069. 00000AD4  486E FF00                pea.l      [A6 - 0x100]
  1070. 00000AD8  4EAD 0F42                jsr        [A5 + 0xF42]
  1071. 00000ADC  101F                     move.b     D0, [A7]+
  1072. 00000ADE  6704                     beq        +0x6 /* 00000AE4 */
  1073. 00000AE0  3D47 000E                move.w     [A6 + 0xE], D7
  1074. label00000AE4:
  1075. 00000AE4  5247                     addq.w     D7, 1
  1076. 00000AE6  6906                     bvs        +0x8 /* 00000AEE */
  1077. label00000AE8:
  1078. 00000AE8  BE6E FDF6                cmp.w      D7, [A6 - 0x20A]
  1079. 00000AEC  6FD8                     ble        -0x26 /* 00000AC6 */
  1080. label00000AEE:
  1081. 00000AEE  4CDF 10C0                movem.l    A4,D7,D6, [A7]+
  1082. 00000AF2  4E5E                     unlink     A6
  1083. 00000AF4  205F                     movea.l    A0, [A7]+
  1084. 00000AF6  5C4F                     addq.w     A7, 6
  1085. 00000AF8  4ED0                     jmp        [A0]
  1086. 00000AFA  8D47 4554                pack       D6, D7, 0x4554
  1087. 00000AFE  4D45                     chk.w      D6, D5
  1088. 00000B00  4E55 4E55                link       A5, -0xFFFFB1AB
  1089. 00000B04  4D42                     chk.w      D6, D2
  1090. 00000B06  4552                     chk.w      D2, [A2]
  1091. 00000B08  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1092. export_380: // at 00000B0A (misaligned)
  1093. 00000B0C  FDCA                     .extension 0xDCA // unimplemented
  1094. 00000B0E  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  1095. 00000B12  42A7                     clr.l      -[A7]
  1096. 00000B14  A924                     trap       FrontWindow
  1097. 00000B16  202E 0008                move.l     D0, [A6 + 0x8]
  1098. 00000B1A  B09F                     cmp.l      D0, [A7]+
  1099. 00000B1C  57C5                     seq        D5
  1100. 00000B1E  4405                     neg.b      D5
  1101. 00000B20  42A7                     clr.l      -[A7]
  1102. 00000B22  3F3C 00AF                move.w     -[A7], 0xAF
  1103. 00000B26  A9BF                     trap       GetRMenu
  1104. 00000B28  285F                     movea.l    A4, [A7]+
  1105. 00000B2A  3D7C 000F FDD2           move.w     [A6 - 0x22E], 0xF
  1106. 00000B30  42A7                     clr.l      -[A7]
  1107. 00000B32  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1108. 00000B36  486E FDD2                pea.l      [A6 - 0x22E]
  1109. 00000B3A  3F3C 002D                move.w     -[A7], 0x2D /* '-' */
  1110. 00000B3E  4EAD 04D2                jsr        [A5 + 0x4D2]
  1111. 00000B42  2C1F                     move.l     D6, [A7]+
  1112. 00000B44  660A                     bne        +0xC /* 00000B50 */
  1113. 00000B46  3F2E FDD6                move.w     -[A7], [A6 - 0x22A]
  1114. 00000B4A  486E FDE6                pea.l      [A6 - 0x21A]
  1115. 00000B4E  A8FF                     trap       GetFName/GetFontName
  1116. label00000B50:
  1117. 00000B50  4267                     clr.w      -[A7]
  1118. 00000B52  2F0C                     move.l     -[A7], A4
  1119. 00000B54  A950                     trap       CountMItems
  1120. 00000B56  3D5F FDCC                move.w     [A6 - 0x234], [A7]+
  1121. 00000B5A  7E01                     moveq.l    D7, 0x01
  1122. 00000B5C  6048                     bra        +0x4A /* 00000BA6 */
  1123. label00000B5E:
  1124. 00000B5E  1005                     move.b     D0, D5
  1125. 00000B60  6708                     beq        +0xA /* 00000B6A */
  1126. 00000B62  2F0C                     move.l     -[A7], A4
  1127. 00000B64  3F07                     move.w     -[A7], D7
  1128. 00000B66  A939                     trap       EnableItem
  1129. 00000B68  6006                     bra        +0x8 /* 00000B70 */
  1130. label00000B6A:
  1131. 00000B6A  2F0C                     move.l     -[A7], A4
  1132. 00000B6C  3F07                     move.w     -[A7], D7
  1133. 00000B6E  A93A                     trap       DisableItem
  1134. label00000B70:
  1135. 00000B70  2F0C                     move.l     -[A7], A4
  1136. 00000B72  3F07                     move.w     -[A7], D7
  1137. 00000B74  486E FEE6                pea.l      [A6 - 0x11A]
  1138. 00000B78  A946                     trap       GetMenuItemText/GetItem
  1139. 00000B7A  4A86                     tst.l      D6
  1140. 00000B7C  57C0                     seq        D0
  1141. 00000B7E  486E FEE6                pea.l      [A6 - 0x11A]
  1142. 00000B82  486E FDE6                pea.l      [A6 - 0x21A]
  1143. 00000B86  4EAD 0F42                jsr        [A5 + 0xF42]
  1144. 00000B8A  C01F                     and.b      D0, [A7]+
  1145. 00000B8C  670C                     beq        +0xE /* 00000B9A */
  1146. 00000B8E  2F0C                     move.l     -[A7], A4
  1147. 00000B90  3F07                     move.w     -[A7], D7
  1148. 00000B92  1F3C 0001                move.b     -[A7], 0x1
  1149. 00000B96  A945                     trap       CheckItem
  1150. 00000B98  6008                     bra        +0xA /* 00000BA2 */
  1151. label00000B9A:
  1152. 00000B9A  2F0C                     move.l     -[A7], A4
  1153. 00000B9C  3F07                     move.w     -[A7], D7
  1154. 00000B9E  4267                     clr.w      -[A7]
  1155. 00000BA0  A945                     trap       CheckItem
  1156. label00000BA2:
  1157. 00000BA2  5247                     addq.w     D7, 1
  1158. 00000BA4  6906                     bvs        +0x8 /* 00000BAC */
  1159. label00000BA6:
  1160. 00000BA6  BE6E FDCC                cmp.w      D7, [A6 - 0x234]
  1161. 00000BAA  6FB2                     ble        -0x4C /* 00000B5E */
  1162. label00000BAC:
  1163. 00000BAC  42A7                     clr.l      -[A7]
  1164. 00000BAE  3F3C 00B0                move.w     -[A7], 0xB0
  1165. 00000BB2  A9BF                     trap       GetRMenu
  1166. 00000BB4  285F                     movea.l    A4, [A7]+
  1167. 00000BB6  4267                     clr.w      -[A7]
  1168. 00000BB8  2F0C                     move.l     -[A7], A4
  1169. 00000BBA  A950                     trap       CountMItems
  1170. 00000BBC  3D5F FDCA                move.w     [A6 - 0x236], [A7]+
  1171. 00000BC0  7E01                     moveq.l    D7, 0x01
  1172. 00000BC2  6000 00A6                bra        +0xA8 /* 00000C6A */
  1173. label00000BC6:
  1174. 00000BC6  1005                     move.b     D0, D5
  1175. 00000BC8  6708                     beq        +0xA /* 00000BD2 */
  1176. 00000BCA  2F0C                     move.l     -[A7], A4
  1177. 00000BCC  3F07                     move.w     -[A7], D7
  1178. 00000BCE  A939                     trap       EnableItem
  1179. 00000BD0  6006                     bra        +0x8 /* 00000BD8 */
  1180. label00000BD2:
  1181. 00000BD2  2F0C                     move.l     -[A7], A4
  1182. 00000BD4  3F07                     move.w     -[A7], D7
  1183. 00000BD6  A93A                     trap       DisableItem
  1184. label00000BD8:
  1185. 00000BD8  2F0C                     move.l     -[A7], A4
  1186. 00000BDA  3F07                     move.w     -[A7], D7
  1187. 00000BDC  486E FEE6                pea.l      [A6 - 0x11A]
  1188. 00000BE0  A946                     trap       GetMenuItemText/GetItem
  1189. 00000BE2  4A86                     tst.l      D6
  1190. 00000BE4  662A                     bne        +0x2C /* 00000C10 */
  1191. 00000BE6  41EE FEE6                lea.l      A0, [A6 - 0x11A]
  1192. 00000BEA  1F10                     move.b     -[A7], [A0]
  1193. 00000BEC  3F3C 00FF                move.w     -[A7], 0xFF
  1194. 00000BF0  4EAD 0F22                jsr        [A5 + 0xF22]
  1195. 00000BF4  2F08                     move.l     -[A7], A0
  1196. 00000BF6  486E FFE6                pea.l      [A6 - 0x1A]
  1197. 00000BFA  4EAD 0442                jsr        [A5 + 0x442]
  1198. 00000BFE  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  1199. 00000C02  2F3C 0000 03E8           move.l     -[A7], 0x3E8
  1200. 00000C08  4EAD 0F1A                jsr        [A5 + 0xF1A]
  1201. 00000C0C  2D5F FFE6                move.l     [A6 - 0x1A], [A7]+
  1202. label00000C10:
  1203. 00000C10  4A86                     tst.l      D6
  1204. 00000C12  57C0                     seq        D0
  1205. 00000C14  2F00                     move.l     -[A7], D0
  1206. 00000C16  4267                     clr.w      -[A7]
  1207. 00000C18  3F2E FDD6                move.w     -[A7], [A6 - 0x22A]
  1208. 00000C1C  3F2E FFE8                move.w     -[A7], [A6 - 0x18]
  1209. 00000C20  A902                     trap       RealFont
  1210. 00000C22  121F                     move.b     D1, [A7]+
  1211. 00000C24  201F                     move.l     D0, [A7]+
  1212. 00000C26  C001                     and.b      D0, D1
  1213. 00000C28  670C                     beq        +0xE /* 00000C36 */
  1214. 00000C2A  2F0C                     move.l     -[A7], A4
  1215. 00000C2C  3F07                     move.w     -[A7], D7
  1216. 00000C2E  3F3A 0066                move.w     -[A7], [PC + 0x66 /* 00000C96 */]
  1217. 00000C32  A942                     trap       SetItmStyle
  1218. 00000C34  600A                     bra        +0xC /* 00000C40 */
  1219. label00000C36:
  1220. 00000C36  2F0C                     move.l     -[A7], A4
  1221. 00000C38  3F07                     move.w     -[A7], D7
  1222. 00000C3A  3F3A 0058                move.w     -[A7], [PC + 0x58 /* 00000C94 */]
  1223. 00000C3E  A942                     trap       SetItmStyle
  1224. label00000C40:
  1225. 00000C40  4A86                     tst.l      D6
  1226. 00000C42  57C0                     seq        D0
  1227. 00000C44  222E FDD8                move.l     D1, [A6 - 0x228]
  1228. 00000C48  B2AE FFE6                cmp.l      D1, [A6 - 0x1A]
  1229. 00000C4C  57C1                     seq        D1
  1230. 00000C4E  C001                     and.b      D0, D1
  1231. 00000C50  670C                     beq        +0xE /* 00000C5E */
  1232. 00000C52  2F0C                     move.l     -[A7], A4
  1233. 00000C54  3F07                     move.w     -[A7], D7
  1234. 00000C56  1F3C 0001                move.b     -[A7], 0x1
  1235. 00000C5A  A945                     trap       CheckItem
  1236. 00000C5C  6008                     bra        +0xA /* 00000C66 */
  1237. label00000C5E:
  1238. 00000C5E  2F0C                     move.l     -[A7], A4
  1239. 00000C60  3F07                     move.w     -[A7], D7
  1240. 00000C62  4267                     clr.w      -[A7]
  1241. 00000C64  A945                     trap       CheckItem
  1242. label00000C66:
  1243. 00000C66  5247                     addq.w     D7, 1
  1244. 00000C68  6908                     bvs        +0xA /* 00000C72 */
  1245. label00000C6A:
  1246. 00000C6A  BE6E FDCA                cmp.w      D7, [A6 - 0x236]
  1247. 00000C6E  6F00 FF56                ble        -0xA8 /* 00000BC6 */
  1248. label00000C72:
  1249. 00000C72  4CDF 10E0                movem.l    A4,D7,D6,D5, [A7]+
  1250. 00000C76  4E5E                     unlink     A6
  1251. 00000C78  2E9F                     move.l     [A7], [A7]+
  1252. 00000C7A  4E75                     rts
  1253. 00000C7C  9446                     sub.w      D2, D6
  1254. 00000C7E  4F52                     chk.w      D7, [A2]
  1255. 00000C80  4D41                     chk.w      D6, D1
  1256. 00000C82  544D                     addq.w     A5, 2
  1257. 00000C84  454E                     chk.w      D2, A6
  1258. 00000C86  5543                     subq.w     D3, 2
  1259. 00000C88  414C                     chk.w      D0, A4
  1260. 00000C8A  4355                     chk.w      D1, [A5]
  1261. 00000C8C  4C41 544F                movem.l    A6,A4,A2,D6,D3,D2,D1,D0, D1
  1262. 00000C90  5200                     addq.b     D0, 1
  1263. 00000C92  0004 0000                ori.b      D4, 0x0
  1264. 00000C96  0008 4E56                ori.b      A0, 0x56 /* 'V' */
  1265. // begin alternate branch 00000C98-00000C9C
  1266. fn00000C98:
  1267. 00000C98  4E56 FDFA                link       A6, -0x0206
  1268. // end alternate branch 00000C98-00000C9C
  1269. fn00000C98: // (misaligned)
  1270. 00000C9A  FDFA                     .extension 0xDFA // unimplemented
  1271. 00000C9C  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  1272. 00000CA0  206E 0010                movea.l    A0, [A6 + 0x10]
  1273. 00000CA4  43EE FF00                lea.l      A1, [A6 - 0x100]
  1274. 00000CA8  703F                     moveq.l    D0, 0x3F
  1275. label00000CAA:
  1276. 00000CAA  22D8                     move.l     [A1]+, [A0]+
  1277. 00000CAC  51C8 FFFC                dbf        D0, -0x6 /* 00000CAA */
  1278. 00000CB0  286E 0008                movea.l    A4, [A6 + 0x8]
  1279. 00000CB4  4207                     clr.b      D7
  1280. 00000CB6  486E FDFA                pea.l      [A6 - 0x206]
  1281. 00000CBA  2F3C 0002 0086           move.l     -[A7], 0x20086
  1282. 00000CC0  4EBA F5B8                jsr        [PC - 0xA48 /* 0000027A */]
  1283. 00000CC4  205F                     movea.l    A0, [A7]+
  1284. 00000CC6  486E FF00                pea.l      [A6 - 0x100]
  1285. 00000CCA  2F08                     move.l     -[A7], A0
  1286. 00000CCC  4EAD 0F42                jsr        [A5 + 0xF42]
  1287. 00000CD0  101F                     move.b     D0, [A7]+
  1288. 00000CD2  6720                     beq        +0x22 /* 00000CF4 */
  1289. 00000CD4  0C6D 0700 FDBE           cmpi.w     [A5 - 0x242], 0x700
  1290. 00000CDA  6D70                     blt        +0x72 /* 00000D4C */
  1291. 00000CDC  4267                     clr.w      -[A7]
  1292. 00000CDE  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  1293. 00000CE2  303C 0200                move.w     D0, 0x200
  1294. 00000CE6  A830                     trap       Pack14
  1295. 00000CE8  3A1F                     move.w     D5, [A7]+
  1296. 00000CEA  57C7                     seq        D7
  1297. 00000CEC  4407                     neg.b      D7
  1298. 00000CEE  38BC BF96                move.w     [A4], 0xBF96
  1299. 00000CF2  6058                     bra        +0x5A /* 00000D4C */
  1300. label00000CF4:
  1301. 00000CF4  38BC FFFF                move.w     [A4], 0xFFFF
  1302. 00000CF8  3C14                     move.w     D6, [A4]
  1303. label00000CFA:
  1304. 00000CFA  5254                     addq.w     [A4], 1
  1305. 00000CFC  206E 000C                movea.l    A0, [A6 + 0xC]
  1306. 00000D00  2F08                     move.l     -[A7], A0
  1307. 00000D02  42A7                     clr.l      -[A7]
  1308. 00000D04  3F14                     move.w     -[A7], [A4]
  1309. 00000D06  A949                     trap       GetMenuHandle
  1310. 00000D08  201F                     move.l     D0, [A7]+
  1311. 00000D0A  205F                     movea.l    A0, [A7]+
  1312. 00000D0C  2080                     move.l     [A0], D0
  1313. 00000D0E  206E 000C                movea.l    A0, [A6 + 0xC]
  1314. 00000D12  4A90                     tst.l      [A0]
  1315. 00000D14  671C                     beq        +0x1E /* 00000D32 */
  1316. 00000D16  BC54                     cmp.w      D6, [A4]
  1317. 00000D18  6C02                     bge        +0x4 /* 00000D1C */
  1318. 00000D1A  3C14                     move.w     D6, [A4]
  1319. label00000D1C:
  1320. 00000D1C  206E 000C                movea.l    A0, [A6 + 0xC]
  1321. 00000D20  2050                     movea.l    A0, [A0]
  1322. 00000D22  2050                     movea.l    A0, [A0]
  1323. 00000D24  4868 000E                pea.l      [A0 + 0xE]
  1324. 00000D28  486E FF00                pea.l      [A6 - 0x100]
  1325. 00000D2C  4EAD 0F42                jsr        [A5 + 0xF42]
  1326. 00000D30  1E1F                     move.b     D7, [A7]+
  1327. label00000D32:
  1328. 00000D32  0C54 00EB                cmpi.w     [A4], 0xEB
  1329. 00000D36  57C0                     seq        D0
  1330. 00000D38  2207                     move.l     D1, D7
  1331. 00000D3A  8200                     or.b       D1, D0
  1332. 00000D3C  0241 0001                andi.w     D1, 0x1
  1333. 00000D40  67B8                     beq        -0x46 /* 00000CFA */
  1334. 00000D42  1007                     move.b     D0, D7
  1335. 00000D44  6606                     bne        +0x8 /* 00000D4C */
  1336. 00000D46  3006                     move.w     D0, D6
  1337. 00000D48  5240                     addq.w     D0, 1
  1338. 00000D4A  3880                     move.w     [A4], D0
  1339. label00000D4C:
  1340. 00000D4C  1D47 0014                move.b     [A6 + 0x14], D7
  1341. 00000D50  4CDF 10E0                movem.l    A4,D7,D6,D5, [A7]+
  1342. 00000D54  4E5E                     unlink     A6
  1343. 00000D56  205F                     movea.l    A0, [A7]+
  1344. 00000D58  DEFC 000C                add.w      A7, 0xC
  1345. 00000D5C  4ED0                     jmp        [A0]
  1346. 00000D5E  8F4D 454E                pack       -[A7], -[A5], 0x454E
  1347. 00000D62  5548                     subq.w     A0, 2
  1348. 00000D64  414E                     chk.w      D0, A6
  1349. 00000D66  444C                     neg.w      A4
  1350. 00000D68  4541                     chk.w      D2, D1
  1351. 00000D6A  4E44                     trap       4
  1352. 00000D6C  4944                     chk.w      D4, D4
  1353. 00000D6E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1354. export_381: // at 00000D70 (misaligned)
  1355. 00000D72  FDEC                     .extension 0xDEC // unimplemented
  1356. 00000D74  206E 0010                movea.l    A0, [A6 + 0x10]
  1357. 00000D78  43EE FFF8                lea.l      A1, [A6 - 0x8]
  1358. 00000D7C  22D8                     move.l     [A1]+, [A0]+
  1359. 00000D7E  22D8                     move.l     [A1]+, [A0]+
  1360. 00000D80  206E 000C                movea.l    A0, [A6 + 0xC]
  1361. 00000D84  43EE FFF0                lea.l      A1, [A6 - 0x10]
  1362. 00000D88  22D8                     move.l     [A1]+, [A0]+
  1363. 00000D8A  22D8                     move.l     [A1]+, [A0]+
  1364. 00000D8C  486E FDEC                pea.l      [A6 - 0x214]
  1365. 00000D90  486E FFF0                pea.l      [A6 - 0x10]
  1366. 00000D94  4EAD 088A                jsr        [A5 + 0x88A]
  1367. 00000D98  205F                     movea.l    A0, [A7]+
  1368. 00000D9A  1F10                     move.b     -[A7], [A0]
  1369. 00000D9C  3F3C 00FF                move.w     -[A7], 0xFF
  1370. 00000DA0  4EAD 0F22                jsr        [A5 + 0xF22]
  1371. 00000DA4  43EE FEEC                lea.l      A1, [A6 - 0x114]
  1372. 00000DA8  703F                     moveq.l    D0, 0x3F
  1373. label00000DAA:
  1374. 00000DAA  22D8                     move.l     [A1]+, [A0]+
  1375. 00000DAC  51C8 FFFC                dbf        D0, -0x6 /* 00000DAA */
  1376. 00000DB0  486E FEEC                pea.l      [A6 - 0x114]
  1377. 00000DB4  487A 012E                pea.l      [PC + 0x12E /* 00000EE4, pstring "standard" */]
  1378. 00000DB8  4EAD 0F42                jsr        [A5 + 0xF42]
  1379. 00000DBC  486E FEEC                pea.l      [A6 - 0x114]
  1380. 00000DC0  487A 012C                pea.l      [PC + 0x12C /* 00000EEE, pstring "hierarchical" */]
  1381. 00000DC4  4EAD 0F42                jsr        [A5 + 0xF42]
  1382. 00000DC8  101F                     move.b     D0, [A7]+
  1383. 00000DCA  801F                     or.b       D0, [A7]+
  1384. 00000DCC  2F00                     move.l     -[A7], D0
  1385. 00000DCE  486E FDEC                pea.l      [A6 - 0x214]
  1386. 00000DD2  2F3C 0002 0086           move.l     -[A7], 0x20086
  1387. 00000DD8  4EBA F4A0                jsr        [PC - 0xB60 /* 0000027A */]
  1388. 00000DDC  221F                     move.l     D1, [A7]+
  1389. 00000DDE  201F                     move.l     D0, [A7]+
  1390. 00000DE0  2041                     movea.l    A0, D1
  1391. 00000DE2  486E FEEC                pea.l      [A6 - 0x114]
  1392. 00000DE6  2F08                     move.l     -[A7], A0
  1393. 00000DE8  4EAD 0F42                jsr        [A5 + 0xF42]
  1394. 00000DEC  801F                     or.b       D0, [A7]+
  1395. 00000DEE  6700 00CA                beq        +0xCC /* 00000EBA */
  1396. 00000DF2  3D7C 0001 0014           move.w     [A6 + 0x14], 0x1
  1397. 00000DF8  206E 0008                movea.l    A0, [A6 + 0x8]
  1398. 00000DFC  30BC BF96                move.w     [A0], 0xBF96
  1399. 00000E00  486E FDEC                pea.l      [A6 - 0x214]
  1400. 00000E04  2F3C 0002 0086           move.l     -[A7], 0x20086
  1401. 00000E0A  4EBA F46E                jsr        [PC - 0xB92 /* 0000027A */]
  1402. 00000E0E  205F                     movea.l    A0, [A7]+
  1403. 00000E10  486E FEEC                pea.l      [A6 - 0x114]
  1404. 00000E14  2F08                     move.l     -[A7], A0
  1405. 00000E16  4EAD 0F42                jsr        [A5 + 0xF42]
  1406. 00000E1A  101F                     move.b     D0, [A7]+
  1407. 00000E1C  6712                     beq        +0x14 /* 00000E30 */
  1408. 00000E1E  0C6D 0700 FDBE           cmpi.w     [A5 - 0x242], 0x700
  1409. 00000E24  6D00 009A                blt        +0x9C /* 00000EC0 */
  1410. 00000E28  426E 0014                clr.w      [A6 + 0x14]
  1411. 00000E2C  6000 0092                bra        +0x94 /* 00000EC0 */
  1412. label00000E30:
  1413. 00000E30  4267                     clr.w      -[A7]
  1414. 00000E32  486E FDEC                pea.l      [A6 - 0x214]
  1415. 00000E36  486E FFF8                pea.l      [A6 - 0x8]
  1416. 00000E3A  4EAD 088A                jsr        [A5 + 0x88A]
  1417. 00000E3E  205F                     movea.l    A0, [A7]+
  1418. 00000E40  1F10                     move.b     -[A7], [A0]
  1419. 00000E42  3F3C 00FF                move.w     -[A7], 0xFF
  1420. 00000E46  4EAD 0F22                jsr        [A5 + 0xF22]
  1421. 00000E4A  2F08                     move.l     -[A7], A0
  1422. 00000E4C  486E FFEC                pea.l      [A6 - 0x14]
  1423. 00000E50  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1424. 00000E54  4EBA FE42                jsr        [PC - 0x1BE /* 00000C98 */]
  1425. 00000E58  101F                     move.b     D0, [A7]+
  1426. 00000E5A  6664                     bne        +0x66 /* 00000EC0 */
  1427. 00000E5C  206E 0008                movea.l    A0, [A6 + 0x8]
  1428. 00000E60  0C50 00EB                cmpi.w     [A0], 0xEB
  1429. 00000E64  675A                     beq        +0x5C /* 00000EC0 */
  1430. 00000E66  426E 0014                clr.w      [A6 + 0x14]
  1431. 00000E6A  42A7                     clr.l      -[A7]
  1432. 00000E6C  206E 0008                movea.l    A0, [A6 + 0x8]
  1433. 00000E70  3F10                     move.w     -[A7], [A0]
  1434. 00000E72  486E FDEC                pea.l      [A6 - 0x214]
  1435. 00000E76  486E FFF8                pea.l      [A6 - 0x8]
  1436. 00000E7A  4EAD 088A                jsr        [A5 + 0x88A]
  1437. 00000E7E  205F                     movea.l    A0, [A7]+
  1438. 00000E80  1F10                     move.b     -[A7], [A0]
  1439. 00000E82  3F3C 00FF                move.w     -[A7], 0xFF
  1440. 00000E86  4EAD 0F22                jsr        [A5 + 0xF22]
  1441. 00000E8A  2F08                     move.l     -[A7], A0
  1442. 00000E8C  A931                     trap       NewMenu
  1443. 00000E8E  2D5F FFEC                move.l     [A6 - 0x14], [A7]+
  1444. 00000E92  486E FEEC                pea.l      [A6 - 0x114]
  1445. 00000E96  487A 004C                pea.l      [PC + 0x4C /* 00000EE4, pstring "standard" */]
  1446. 00000E9A  4EAD 0F42                jsr        [A5 + 0xF42]
  1447. 00000E9E  101F                     move.b     D0, [A7]+
  1448. 00000EA0  670C                     beq        +0xE /* 00000EAE */
  1449. 00000EA2  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1450. 00000EA6  4267                     clr.w      -[A7]
  1451. 00000EA8  A935                     trap       InsertMenu
  1452. 00000EAA  A937                     trap       DrawMenuBar
  1453. 00000EAC  6012                     bra        +0x14 /* 00000EC0 */
  1454. label00000EAE:
  1455. 00000EAE  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1456. 00000EB2  3F3C FFFF                move.w     -[A7], 0xFFFF
  1457. 00000EB6  A935                     trap       InsertMenu
  1458. 00000EB8  6006                     bra        +0x8 /* 00000EC0 */
  1459. label00000EBA:
  1460. 00000EBA  3D7C FFFF 0014           move.w     [A6 + 0x14], 0xFFFF
  1461. label00000EC0:
  1462. 00000EC0  4E5E                     unlink     A6
  1463. 00000EC2  205F                     movea.l    A0, [A7]+
  1464. 00000EC4  DEFC 000C                add.w      A7, 0xC
  1465. 00000EC8  4ED0                     jmp        [A0]
  1466. 00000ECA  9653                     sub.w      D3, [A3]
  1467. 00000ECC  5953                     subq.w     [A3], 4
  1468. 00000ECE  5445                     addq.w     D5, 2
  1469. 00000ED0  4D41                     chk.w      D6, D1
  1470. 00000ED2  4444                     neg.w      D4
  1471. 00000ED4  4D45                     chk.w      D6, D5
  1472. 00000ED6  4E55 5052                link       A5, -0xFFFFAFAE
  1473. 00000EDA  4544                     chk.w      D2, D4
  1474. 00000EDC  4943                     chk.w      D4, D3
  1475. 00000EDE  4154                     chk.w      D0, [A4]
  1476. 00000EE0  4500                     .invalid   2, D0 // invalid opcode 4 with b == 4
  1477. 00000EE2  0018 0873                ori.b      [A0]+, 0x73 /* 's' */
  1478. 00000EE6  7461                     moveq.l    D2, 0x61
  1479. 00000EE8  6E64                     bgt        +0x66 /* 00000F4E */
  1480. 00000EEA  6172                     bsr        +0x74 /* 00000F5E */
  1481. 00000EEC  6400 0C68                bcc        +0xC6A /* 00001B56 */
  1482. 00000EF0  6965                     bvs        +0x67 /* 00000F57 */
  1483. 00000EF2  7261                     moveq.l    D1, 0x61
  1484. 00000EF4  7263                     moveq.l    D1, 0x63
  1485. 00000EF6  6869                     bvc        +0x6B /* 00000F61 */
  1486. 00000EF8  6361                     bls        +0x63 /* 00000F5B */
  1487. 00000EFA  6C00 4E56                bge        +0x4E58 /* 00005D52 */
  1488. export_382: // at 00000EFC (misaligned)
  1489. 00000EFE  FCB2                     .extension 0xCB2 // unimplemented
  1490. 00000F00  48E7 0700                movem.l    -[A7], D5,D6,D7
  1491. 00000F04  206E 0024                movea.l    A0, [A6 + 0x24]
  1492. 00000F08  43EE FFF8                lea.l      A1, [A6 - 0x8]
  1493. 00000F0C  22D8                     move.l     [A1]+, [A0]+
  1494. 00000F0E  22D8                     move.l     [A1]+, [A0]+
  1495. 00000F10  206E 0020                movea.l    A0, [A6 + 0x20]
  1496. 00000F14  43EE FFF0                lea.l      A1, [A6 - 0x10]
  1497. 00000F18  22D8                     move.l     [A1]+, [A0]+
  1498. 00000F1A  22D8                     move.l     [A1]+, [A0]+
  1499. 00000F1C  206E 001C                movea.l    A0, [A6 + 0x1C]
  1500. 00000F20  43EE FFE8                lea.l      A1, [A6 - 0x18]
  1501. 00000F24  22D8                     move.l     [A1]+, [A0]+
  1502. 00000F26  22D8                     move.l     [A1]+, [A0]+
  1503. 00000F28  206E 0018                movea.l    A0, [A6 + 0x18]
  1504. 00000F2C  43EE FFE0                lea.l      A1, [A6 - 0x20]
  1505. 00000F30  22D8                     move.l     [A1]+, [A0]+
  1506. 00000F32  22D8                     move.l     [A1]+, [A0]+
  1507. 00000F34  206E 0014                movea.l    A0, [A6 + 0x14]
  1508. 00000F38  43EE FFD8                lea.l      A1, [A6 - 0x28]
  1509. 00000F3C  22D8                     move.l     [A1]+, [A0]+
  1510. 00000F3E  22D8                     move.l     [A1]+, [A0]+
  1511. 00000F40  206E 0010                movea.l    A0, [A6 + 0x10]
  1512. 00000F44  43EE FFD0                lea.l      A1, [A6 - 0x30]
  1513. 00000F48  22D8                     move.l     [A1]+, [A0]+
  1514. 00000F4A  22D8                     move.l     [A1]+, [A0]+
  1515. 00000F4C  206E 000C                movea.l    A0, [A6 + 0xC]
  1516. // begin alternate branch 00000F4E-00000F54
  1517. label00000F4E:
  1518. 00000F4E  000C 43EE                ori.b      A4, 0xEE
  1519. 00000F52  FFC8                     .extension 0xFC8 // unimplemented
  1520. // end alternate branch 00000F4E-00000F54
  1521. label00000F4E: // (misaligned)
  1522. 00000F50  43EE FFC8                lea.l      A1, [A6 - 0x38]
  1523. 00000F54  22D8                     move.l     [A1]+, [A0]+
  1524. 00000F56  22D8                     move.l     [A1]+, [A0]+
  1525. label00000F57: // (misaligned)
  1526. 00000F58  206E 0008                movea.l    A0, [A6 + 0x8]
  1527. label00000F5B: // (misaligned)
  1528. 00000F5C  43EE FFC0                lea.l      A1, [A6 - 0x40]
  1529. // begin alternate branch 00000F5E-00000F60
  1530. fn00000F5E:
  1531. 00000F5E  FFC0                     .extension 0xFC0 // unimplemented
  1532. // end alternate branch 00000F5E-00000F60
  1533. fn00000F5E: // (misaligned)
  1534. 00000F60  22D8                     move.l     [A1]+, [A0]+
  1535. label00000F61: // (misaligned)
  1536. 00000F62  22D8                     move.l     [A1]+, [A0]+
  1537. 00000F64  7000                     moveq.l    D0, 0x00
  1538. 00000F66  2D40 0028                move.l     [A6 + 0x28], D0
  1539. 00000F6A  0C6D 0700 FDBE           cmpi.w     [A5 - 0x242], 0x700
  1540. 00000F70  5DC0                     slt        D0
  1541. 00000F72  2F00                     move.l     -[A7], D0
  1542. 00000F74  486E FDB4                pea.l      [A6 - 0x24C]
  1543. 00000F78  486E FFF0                pea.l      [A6 - 0x10]
  1544. 00000F7C  4EAD 088A                jsr        [A5 + 0x88A]
  1545. 00000F80  221F                     move.l     D1, [A7]+
  1546. 00000F82  201F                     move.l     D0, [A7]+
  1547. 00000F84  2041                     movea.l    A0, D1
  1548. 00000F86  48E7 8080                movem.l    -[A7], D0,A0
  1549. 00000F8A  486E FCB4                pea.l      [A6 - 0x34C]
  1550. 00000F8E  2F3C 0002 0086           move.l     -[A7], 0x20086
  1551. 00000F94  4EBA F2E4                jsr        [PC - 0xD1C /* 0000027A */]
  1552. 00000F98  221F                     move.l     D1, [A7]+
  1553. 00000F9A  4CDF 0101                movem.l    A0,D0, [A7]+
  1554. 00000F9E  2241                     movea.l    A1, D1
  1555. 00000FA0  2F08                     move.l     -[A7], A0
  1556. 00000FA2  2F09                     move.l     -[A7], A1
  1557. 00000FA4  4EAD 0F42                jsr        [A5 + 0xF42]
  1558. 00000FA8  C01F                     and.b      D0, [A7]+
  1559. 00000FAA  6600 035E                bne        +0x360 /* 0000130A */
  1560. 00000FAE  4267                     clr.w      -[A7]
  1561. 00000FB0  486E FDB4                pea.l      [A6 - 0x24C]
  1562. 00000FB4  486E FFF0                pea.l      [A6 - 0x10]
  1563. 00000FB8  4EAD 088A                jsr        [A5 + 0x88A]
  1564. 00000FBC  205F                     movea.l    A0, [A7]+
  1565. 00000FBE  1F10                     move.b     -[A7], [A0]
  1566. 00000FC0  3F3C 00FF                move.w     -[A7], 0xFF
  1567. 00000FC4  4EAD 0F22                jsr        [A5 + 0xF22]
  1568. 00000FC8  2F08                     move.l     -[A7], A0
  1569. 00000FCA  486E FFB8                pea.l      [A6 - 0x48]
  1570. 00000FCE  486E FFBC                pea.l      [A6 - 0x44]
  1571. 00000FD2  4EBA FCC4                jsr        [PC - 0x33C /* 00000C98 */]
  1572. 00000FD6  1C1F                     move.b     D6, [A7]+
  1573. 00000FD8  486E FDB4                pea.l      [A6 - 0x24C]
  1574. 00000FDC  486E FFF8                pea.l      [A6 - 0x8]
  1575. 00000FE0  4EAD 088A                jsr        [A5 + 0x88A]
  1576. 00000FE4  205F                     movea.l    A0, [A7]+
  1577. 00000FE6  2F08                     move.l     -[A7], A0
  1578. 00000FE8  487A 0376                pea.l      [PC + 0x376 /* 00001360, pstring "set" */]
  1579. 00000FEC  4EAD 0F42                jsr        [A5 + 0xF42]
  1580. 00000FF0  101F                     move.b     D0, [A7]+
  1581. 00000FF2  6700 0254                beq        +0x256 /* 00001248 */
  1582. 00000FF6  1006                     move.b     D0, D6
  1583. 00000FF8  6660                     bne        +0x62 /* 0000105A */
  1584. 00000FFA  0C6E 00EB FFBC           cmpi.w     [A6 - 0x44], 0xEB
  1585. 00001000  6758                     beq        +0x5A /* 0000105A */
  1586. 00001002  42A7                     clr.l      -[A7]
  1587. 00001004  3F2E FFBC                move.w     -[A7], [A6 - 0x44]
  1588. 00001008  486E FDB4                pea.l      [A6 - 0x24C]
  1589. 0000100C  486E FFF0                pea.l      [A6 - 0x10]
  1590. 00001010  4EAD 088A                jsr        [A5 + 0x88A]
  1591. 00001014  205F                     movea.l    A0, [A7]+
  1592. 00001016  1F10                     move.b     -[A7], [A0]
  1593. 00001018  3F3C 00FF                move.w     -[A7], 0xFF
  1594. 0000101C  4EAD 0F22                jsr        [A5 + 0xF22]
  1595. 00001020  2F08                     move.l     -[A7], A0
  1596. 00001022  A931                     trap       NewMenu
  1597. 00001024  2D5F FFB8                move.l     [A6 - 0x48], [A7]+
  1598. 00001028  486E FDB4                pea.l      [A6 - 0x24C]
  1599. 0000102C  486E FFE0                pea.l      [A6 - 0x20]
  1600. 00001030  4EAD 088A                jsr        [A5 + 0x88A]
  1601. 00001034  205F                     movea.l    A0, [A7]+
  1602. 00001036  2F08                     move.l     -[A7], A0
  1603. 00001038  487A 031C                pea.l      [PC + 0x31C /* 00001356, pstring "standard" */]
  1604. 0000103C  4EAD 0F42                jsr        [A5 + 0xF42]
  1605. 00001040  101F                     move.b     D0, [A7]+
  1606. 00001042  670C                     beq        +0xE /* 00001050 */
  1607. 00001044  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1608. 00001048  4267                     clr.w      -[A7]
  1609. 0000104A  A935                     trap       InsertMenu
  1610. 0000104C  A937                     trap       DrawMenuBar
  1611. 0000104E  600A                     bra        +0xC /* 0000105A */
  1612. label00001050:
  1613. 00001050  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1614. 00001054  3F3C FFFF                move.w     -[A7], 0xFFFF
  1615. 00001058  A935                     trap       InsertMenu
  1616. label0000105A:
  1617. 0000105A  4AAE FFB8                tst.l      [A6 - 0x48]
  1618. 0000105E  6700 02AA                beq        +0x2AC /* 0000130A */
  1619. 00001062  3A2E FFBC                move.w     D5, [A6 - 0x44]
  1620. 00001066  486E FDB4                pea.l      [A6 - 0x24C]
  1621. 0000106A  486E FFE8                pea.l      [A6 - 0x18]
  1622. 0000106E  4EAD 088A                jsr        [A5 + 0x88A]
  1623. 00001072  205F                     movea.l    A0, [A7]+
  1624. 00001074  4A10                     tst.b      [A0]
  1625. 00001076  6700 01B0                beq        +0x1B2 /* 00001228 */
  1626. 0000107A  486E FDB4                pea.l      [A6 - 0x24C]
  1627. 0000107E  486E FFE8                pea.l      [A6 - 0x18]
  1628. 00001082  4EAD 088A                jsr        [A5 + 0x88A]
  1629. 00001086  205F                     movea.l    A0, [A7]+
  1630. 00001088  2F08                     move.l     -[A7], A0
  1631. 0000108A  487A 02C8                pea.l      [PC + 0x2C8 /* 00001354 */]
  1632. 0000108E  4EAD 0F42                jsr        [A5 + 0xF42]
  1633. 00001092  101F                     move.b     D0, [A7]+
  1634. 00001094  671E                     beq        +0x20 /* 000010B4 */
  1635. 00001096  4267                     clr.w      -[A7]
  1636. 00001098  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1637. 0000109C  A950                     trap       CountMItems
  1638. 0000109E  301F                     move.w     D0, [A7]+
  1639. 000010A0  5240                     addq.w     D0, 1
  1640. 000010A2  3D40 FFBC                move.w     [A6 - 0x44], D0
  1641. 000010A6  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1642. 000010AA  487A 02A4                pea.l      [PC + 0x2A4 /* 00001350, pstring "(-)" */]
  1643. 000010AE  A933                     trap       AppendMenu
  1644. 000010B0  6000 0176                bra        +0x178 /* 00001228 */
  1645. label000010B4:
  1646. 000010B4  426E FFBC                clr.w      [A6 - 0x44]
  1647. 000010B8  4267                     clr.w      -[A7]
  1648. 000010BA  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1649. 000010BE  A950                     trap       CountMItems
  1650. 000010C0  4A5F                     tst.w      [A7]+
  1651. 000010C2  6742                     beq        +0x44 /* 00001106 */
  1652. label000010C4:
  1653. 000010C4  526E FFBC                addq.w     [A6 - 0x44], 1
  1654. 000010C8  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1655. 000010CC  3F2E FFBC                move.w     -[A7], [A6 - 0x44]
  1656. 000010D0  486E FEB8                pea.l      [A6 - 0x148]
  1657. 000010D4  A946                     trap       GetMenuItemText/GetItem
  1658. 000010D6  486E FDB4                pea.l      [A6 - 0x24C]
  1659. 000010DA  486E FFE8                pea.l      [A6 - 0x18]
  1660. 000010DE  4EAD 088A                jsr        [A5 + 0x88A]
  1661. 000010E2  205F                     movea.l    A0, [A7]+
  1662. 000010E4  486E FEB8                pea.l      [A6 - 0x148]
  1663. 000010E8  2F08                     move.l     -[A7], A0
  1664. 000010EA  4EAD 0F42                jsr        [A5 + 0xF42]
  1665. 000010EE  4267                     clr.w      -[A7]
  1666. 000010F0  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1667. 000010F4  A950                     trap       CountMItems
  1668. 000010F6  302E FFBC                move.w     D0, [A6 - 0x44]
  1669. 000010FA  B05F                     cmp.w      D0, [A7]+
  1670. 000010FC  57C0                     seq        D0
  1671. 000010FE  801F                     or.b       D0, [A7]+
  1672. 00001100  0240 0001                andi.w     D0, 0x1
  1673. 00001104  67BE                     beq        -0x40 /* 000010C4 */
  1674. label00001106:
  1675. 00001106  486E FDB4                pea.l      [A6 - 0x24C]
  1676. 0000110A  486E FFE8                pea.l      [A6 - 0x18]
  1677. 0000110E  4EAD 088A                jsr        [A5 + 0x88A]
  1678. 00001112  205F                     movea.l    A0, [A7]+
  1679. 00001114  486E FEB8                pea.l      [A6 - 0x148]
  1680. 00001118  2F08                     move.l     -[A7], A0
  1681. 0000111A  4EAD 0F3A                jsr        [A5 + 0xF3A]
  1682. 0000111E  101F                     move.b     D0, [A7]+
  1683. 00001120  6736                     beq        +0x38 /* 00001158 */
  1684. 00001122  526E FFBC                addq.w     [A6 - 0x44], 1
  1685. 00001126  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1686. 0000112A  487A 021C                pea.l      [PC + 0x21C /* 00001348, pstring "nothing" */]
  1687. 0000112E  3F2E FFBC                move.w     -[A7], [A6 - 0x44]
  1688. 00001132  A826                     trap       InsertMenuItem/InsMenuItem
  1689. 00001134  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1690. 00001138  3F2E FFBC                move.w     -[A7], [A6 - 0x44]
  1691. 0000113C  486E FDB4                pea.l      [A6 - 0x24C]
  1692. 00001140  486E FFE8                pea.l      [A6 - 0x18]
  1693. 00001144  4EAD 088A                jsr        [A5 + 0x88A]
  1694. 00001148  205F                     movea.l    A0, [A7]+
  1695. 0000114A  1F10                     move.b     -[A7], [A0]
  1696. 0000114C  3F3C 00FF                move.w     -[A7], 0xFF
  1697. 00001150  4EAD 0F22                jsr        [A5 + 0xF22]
  1698. 00001154  2F08                     move.l     -[A7], A0
  1699. 00001156  A947                     trap       SetMenuItemText/SetItem
  1700. label00001158:
  1701. 00001158  486E FDB4                pea.l      [A6 - 0x24C]
  1702. 0000115C  486E FFC8                pea.l      [A6 - 0x38]
  1703. 00001160  4EAD 088A                jsr        [A5 + 0x88A]
  1704. 00001164  205F                     movea.l    A0, [A7]+
  1705. 00001166  4A10                     tst.b      [A0]
  1706. 00001168  6718                     beq        +0x1A /* 00001182 */
  1707. 0000116A  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1708. 0000116E  3F2E FFBC                move.w     -[A7], [A6 - 0x44]
  1709. 00001172  42A7                     clr.l      -[A7]
  1710. 00001174  486E FFC8                pea.l      [A6 - 0x38]
  1711. 00001178  4EBA F1EE                jsr        [PC - 0xE12 /* 00000368 */]
  1712. 0000117C  201F                     move.l     D0, [A7]+
  1713. 0000117E  3F00                     move.w     -[A7], D0
  1714. 00001180  A84F                     trap       SetItemCmd
  1715. label00001182:
  1716. 00001182  486E FDB4                pea.l      [A6 - 0x24C]
  1717. 00001186  486E FFD8                pea.l      [A6 - 0x28]
  1718. 0000118A  4EAD 088A                jsr        [A5 + 0x88A]
  1719. 0000118E  205F                     movea.l    A0, [A7]+
  1720. 00001190  2F08                     move.l     -[A7], A0
  1721. 00001192  487A 01AC                pea.l      [PC + 0x1AC /* 00001340, pstring "enabled" */]
  1722. 00001196  4EAD 0F42                jsr        [A5 + 0xF42]
  1723. 0000119A  101F                     move.b     D0, [A7]+
  1724. 0000119C  670C                     beq        +0xE /* 000011AA */
  1725. 0000119E  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1726. 000011A2  3F2E FFBC                move.w     -[A7], [A6 - 0x44]
  1727. 000011A6  A939                     trap       EnableItem
  1728. 000011A8  6026                     bra        +0x28 /* 000011D0 */
  1729. label000011AA:
  1730. 000011AA  486E FDB4                pea.l      [A6 - 0x24C]
  1731. 000011AE  486E FFD8                pea.l      [A6 - 0x28]
  1732. 000011B2  4EAD 088A                jsr        [A5 + 0x88A]
  1733. 000011B6  205F                     movea.l    A0, [A7]+
  1734. 000011B8  2F08                     move.l     -[A7], A0
  1735. 000011BA  487A 017A                pea.l      [PC + 0x17A /* 00001336, pstring "disabled" */]
  1736. 000011BE  4EAD 0F42                jsr        [A5 + 0xF42]
  1737. 000011C2  101F                     move.b     D0, [A7]+
  1738. 000011C4  670A                     beq        +0xC /* 000011D0 */
  1739. 000011C6  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1740. 000011CA  3F2E FFBC                move.w     -[A7], [A6 - 0x44]
  1741. 000011CE  A93A                     trap       DisableItem
  1742. label000011D0:
  1743. 000011D0  486E FDB4                pea.l      [A6 - 0x24C]
  1744. 000011D4  486E FFD0                pea.l      [A6 - 0x30]
  1745. 000011D8  4EAD 088A                jsr        [A5 + 0x88A]
  1746. 000011DC  205F                     movea.l    A0, [A7]+
  1747. 000011DE  4A10                     tst.b      [A0]
  1748. 000011E0  671C                     beq        +0x1E /* 000011FE */
  1749. 000011E2  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1750. 000011E6  3F2E FFBC                move.w     -[A7], [A6 - 0x44]
  1751. 000011EA  42A7                     clr.l      -[A7]
  1752. 000011EC  486E FFD0                pea.l      [A6 - 0x30]
  1753. 000011F0  4EBA F176                jsr        [PC - 0xE8A /* 00000368 */]
  1754. 000011F4  201F                     move.l     D0, [A7]+
  1755. 000011F6  41BC 00FF 3F00           .invalid   0, 0xFF3F00 // invalid opcode 4 with b == 6
  1756. 000011FC  A940                     trap       SetItmIcon
  1757. label000011FE:
  1758. 000011FE  486E FDB4                pea.l      [A6 - 0x24C]
  1759. 00001202  486E FFC0                pea.l      [A6 - 0x40]
  1760. 00001206  4EAD 088A                jsr        [A5 + 0x88A]
  1761. 0000120A  205F                     movea.l    A0, [A7]+
  1762. 0000120C  4A10                     tst.b      [A0]
  1763. 0000120E  6718                     beq        +0x1A /* 00001228 */
  1764. 00001210  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1765. 00001214  3F2E FFBC                move.w     -[A7], [A6 - 0x44]
  1766. 00001218  42A7                     clr.l      -[A7]
  1767. 0000121A  486E FFC0                pea.l      [A6 - 0x40]
  1768. 0000121E  4EBA F148                jsr        [PC - 0xEB8 /* 00000368 */]
  1769. 00001222  201F                     move.l     D0, [A7]+
  1770. 00001224  3F00                     move.w     -[A7], D0
  1771. 00001226  A944                     trap       SetItmMark
  1772. label00001228:
  1773. 00001228  3005                     move.w     D0, D5
  1774. 0000122A  48C0                     ext.l      D0
  1775. 0000122C  2F00                     move.l     -[A7], D0
  1776. 0000122E  2F3C 0001 0000           move.l     -[A7], 0x10000
  1777. 00001234  4EAD 0F12                jsr        [A5 + 0xF12]
  1778. 00001238  302E FFBC                move.w     D0, [A6 - 0x44]
  1779. 0000123C  48C0                     ext.l      D0
  1780. 0000123E  D09F                     add.l      D0, [A7]+
  1781. 00001240  2D40 0028                move.l     [A6 + 0x28], D0
  1782. 00001244  6000 00C4                bra        +0xC6 /* 0000130A */
  1783. label00001248:
  1784. 00001248  486E FDB4                pea.l      [A6 - 0x24C]
  1785. 0000124C  486E FFF8                pea.l      [A6 - 0x8]
  1786. 00001250  4EAD 088A                jsr        [A5 + 0x88A]
  1787. 00001254  205F                     movea.l    A0, [A7]+
  1788. 00001256  2F08                     move.l     -[A7], A0
  1789. 00001258  487A 00D4                pea.l      [PC + 0xD4 /* 0000132E, pstring "delete" */]
  1790. 0000125C  4EAD 0F42                jsr        [A5 + 0xF42]
  1791. 00001260  101F                     move.b     D0, [A7]+
  1792. 00001262  6700 00A6                beq        +0xA8 /* 0000130A */
  1793. 00001266  1006                     move.b     D0, D6
  1794. 00001268  6700 00A0                beq        +0xA2 /* 0000130A */
  1795. 0000126C  486E FDB4                pea.l      [A6 - 0x24C]
  1796. 00001270  486E FFE8                pea.l      [A6 - 0x18]
  1797. 00001274  4EAD 088A                jsr        [A5 + 0x88A]
  1798. 00001278  205F                     movea.l    A0, [A7]+
  1799. 0000127A  4A10                     tst.b      [A0]
  1800. 0000127C  6756                     beq        +0x58 /* 000012D4 */
  1801. 0000127E  4267                     clr.w      -[A7]
  1802. 00001280  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1803. 00001284  A950                     trap       CountMItems
  1804. 00001286  4A5F                     tst.w      [A7]+
  1805. 00001288  674A                     beq        +0x4C /* 000012D4 */
  1806. 0000128A  4267                     clr.w      -[A7]
  1807. 0000128C  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1808. 00001290  A950                     trap       CountMItems
  1809. 00001292  3D5F FCB2                move.w     [A6 - 0x34E], [A7]+
  1810. 00001296  7E01                     moveq.l    D7, 0x01
  1811. 00001298  6034                     bra        +0x36 /* 000012CE */
  1812. label0000129A:
  1813. 0000129A  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1814. 0000129E  3F07                     move.w     -[A7], D7
  1815. 000012A0  486E FEB8                pea.l      [A6 - 0x148]
  1816. 000012A4  A946                     trap       GetMenuItemText/GetItem
  1817. 000012A6  486E FDB4                pea.l      [A6 - 0x24C]
  1818. 000012AA  486E FFE8                pea.l      [A6 - 0x18]
  1819. 000012AE  4EAD 088A                jsr        [A5 + 0x88A]
  1820. 000012B2  205F                     movea.l    A0, [A7]+
  1821. 000012B4  486E FEB8                pea.l      [A6 - 0x148]
  1822. 000012B8  2F08                     move.l     -[A7], A0
  1823. 000012BA  4EAD 0F42                jsr        [A5 + 0xF42]
  1824. 000012BE  101F                     move.b     D0, [A7]+
  1825. 000012C0  6708                     beq        +0xA /* 000012CA */
  1826. 000012C2  2F2E FFB8                move.l     -[A7], [A6 - 0x48]
  1827. 000012C6  3F07                     move.w     -[A7], D7
  1828. 000012C8  A952                     trap       DeleteMenuItem/DelMenuItem
  1829. label000012CA:
  1830. 000012CA  5247                     addq.w     D7, 1
  1831. 000012CC  6906                     bvs        +0x8 /* 000012D4 */
  1832. label000012CE:
  1833. 000012CE  BE6E FCB2                cmp.w      D7, [A6 - 0x34E]
  1834. 000012D2  6FC6                     ble        -0x38 /* 0000129A */
  1835. label000012D4:
  1836. 000012D4  486E FDB4                pea.l      [A6 - 0x24C]
  1837. 000012D8  486E FFE8                pea.l      [A6 - 0x18]
  1838. 000012DC  4EAD 088A                jsr        [A5 + 0x88A]
  1839. 000012E0  205F                     movea.l    A0, [A7]+
  1840. 000012E2  4A10                     tst.b      [A0]
  1841. 000012E4  6608                     bne        +0xA /* 000012EE */
  1842. 000012E6  3F2E FFBC                move.w     -[A7], [A6 - 0x44]
  1843. 000012EA  A936                     trap       DeleteMenu
  1844. 000012EC  A937                     trap       DrawMenuBar
  1845. label000012EE:
  1846. 000012EE  302E FFBC                move.w     D0, [A6 - 0x44]
  1847. 000012F2  48C0                     ext.l      D0
  1848. 000012F4  2F00                     move.l     -[A7], D0
  1849. 000012F6  2F3C 0001 0000           move.l     -[A7], 0x10000
  1850. 000012FC  4EAD 0F12                jsr        [A5 + 0xF12]
  1851. 00001300  3007                     move.w     D0, D7
  1852. 00001302  48C0                     ext.l      D0
  1853. 00001304  D09F                     add.l      D0, [A7]+
  1854. 00001306  2D40 0028                move.l     [A6 + 0x28], D0
  1855. label0000130A:
  1856. 0000130A  4CDF 00E0                movem.l    D7,D6,D5, [A7]+
  1857. 0000130E  4E5E                     unlink     A6
  1858. 00001310  205F                     movea.l    A0, [A7]+
  1859. 00001312  DEFC 0020                add.w      A7, 0x20 /* ' ' */
  1860. 00001316  4ED0                     jmp        [A0]
  1861. 00001318  9353                     sub.w      [A3], D1
  1862. 0000131A  5953                     subq.w     [A3], 4
  1863. 0000131C  5445                     addq.w     D5, 2
  1864. 0000131E  4D4D                     chk.w      D6, A5
  1865. 00001320  454E                     chk.w      D2, A6
  1866. 00001322  5550                     subq.w     [A0], 2
  1867. 00001324  5245                     addq.w     D5, 1
  1868. 00001326  4449                     neg.w      A1
  1869. 00001328  4341                     chk.w      D1, D1
  1870. 0000132A  5445                     addq.w     D5, 2
  1871. 0000132C  0036 0664 656C           ori.b      <<invalid full ext with I/IS == 4>>, 0x64 /* 'd' */
  1872. 00001332  6574                     bcs        +0x76 /* 000013A8 */
  1873. 00001334  6500 0864                bcs        +0x866 /* 00001B9A */
  1874. 00001338  6973                     bvs        +0x75 /* 000013AD */
  1875. 0000133A  6162                     bsr        +0x64 /* 0000139E */
  1876. 0000133C  6C65                     bge        +0x67 /* 000013A3 */
  1877. 0000133E  6400 0765                bcc        +0x767 /* 00001AA5 */
  1878. 00001342  6E61                     bgt        +0x63 /* 000013A5 */
  1879. 00001344  626C                     bhi        +0x6E /* 000013B2 */
  1880. 00001346  6564                     bcs        +0x66 /* 000013AC */
  1881. 00001348  076E 6F74                bchg       [A6 + 0x6F74], D3
  1882. 0000134C  6869                     bvc        +0x6B /* 000013B7 */
  1883. 0000134E  6E67                     bgt        +0x69 /* 000013B7 */
  1884. 00001350  0328 2D29                btst       [A0 + 0x2D29], D1
  1885. 00001354  012D 0873                btst       [A5 + 0x873], D0
  1886. 00001358  7461                     moveq.l    D2, 0x61
  1887. 0000135A  6E64                     bgt        +0x66 /* 000013C0 */
  1888. 0000135C  6172                     bsr        +0x74 /* 000013D0 */
  1889. 0000135E  6400 0373                bcc        +0x375 /* 000016D3 */
  1890. 00001362  6574                     bcs        +0x76 /* 000013D8 */
  1891. export_383:
  1892. 00001364  4E56 F7BA                link       A6, -0x0846
  1893. 00001368  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  1894. 0000136C  266E 000A                movea.l    A3, [A6 + 0xA]
  1895. 00001370  4EAD 0492                jsr        [A5 + 0x492]
  1896. 00001374  4267                     clr.w      -[A7]
  1897. 00001376  4EAD 048A                jsr        [A5 + 0x48A]
  1898. 0000137A  4A5F                     tst.w      [A7]+
  1899. 0000137C  6600 0720                bne        +0x722 /* 00001A9E */
  1900. 00001380  4EAD 098A                jsr        [A5 + 0x98A]
  1901. 00001384  302E 0008                move.w     D0, [A6 + 0x8]
  1902. 00001388  670C                     beq        +0xE /* 00001396 */
  1903. 0000138A  5540                     subq.w     D0, 2
  1904. 0000138C  676E                     beq        +0x70 /* 000013FC */
  1905. 0000138E  5340                     subq.w     D0, 1
  1906. 00001390  676A                     beq        +0x6C /* 000013FC */
  1907. 00001392  6000 06FA                bra        +0x6FC /* 00001A8E */
  1908. label00001396:
  1909. 00001396  4267                     clr.w      -[A7]
  1910. 00001398  2F2B 0348                move.l     -[A7], [A3 + 0x348]
  1911. 0000139C  4EAD 0472                jsr        [A5 + 0x472]
  1912. // begin alternate branch 0000139E-000013AE
  1913. fn0000139E:
  1914. 0000139E  0472 101F 6700           subi.w     [A2 + <<invalid base displacement size>> + D6 * 8], 0x101F
  1915. label000013A3: // (misaligned)
  1916. 000013A4  06F0 3D6B 0240 F998 2F0B addi.?     [[A0 + 0x240] - 0x667D0F5], 0xFFFFFFFFFFFFFFFF
  1917. // end alternate branch 0000139E-000013AE
  1918. fn0000139E: // (misaligned)
  1919. 000013A0  101F                     move.b     D0, [A7]+
  1920. 000013A2  6700 06F0                beq        +0x6F2 /* 00001A94 */
  1921. label000013A3: // (misaligned)
  1922. label000013A5: // (misaligned)
  1923. 000013A6  3D6B 0240 F998           move.w     [A6 - 0x668], [A3 + 0x240]
  1924. // begin alternate branch 000013A8-000013AC
  1925. label000013A8:
  1926. 000013A8  0240 F998                andi.w     D0, 0xF998
  1927. // end alternate branch 000013A8-000013AC
  1928. label000013A8: // (misaligned)
  1929. label000013AC:
  1930. 000013AC  2F0B                     move.l     -[A7], A3
  1931. label000013AD: // (misaligned)
  1932. 000013AE  4EAD 0ACA                jsr        [A5 + 0xACA]
  1933. label000013B2:
  1934. 000013B2  2F0B                     move.l     -[A7], A3
  1935. 000013B4  4EAD 09BA                jsr        [A5 + 0x9BA]
  1936. label000013B7: // (misaligned)
  1937. 000013B8  3F2E F998                move.w     -[A7], [A6 - 0x668]
  1938. 000013BC  2F2B 023C                move.l     -[A7], [A3 + 0x23C]
  1939. label000013C0:
  1940. 000013C0  4EAD 03B2                jsr        [A5 + 0x3B2]
  1941. 000013C4  2F0B                     move.l     -[A7], A3
  1942. 000013C6  4EAD 09B2                jsr        [A5 + 0x9B2]
  1943. 000013CA  486E FFD8                pea.l      [A6 - 0x28]
  1944. 000013CE  A874                     trap       GetPort
  1945. fn000013D0:
  1946. 000013D0  2F0B                     move.l     -[A7], A3
  1947. 000013D2  A873                     trap       SetPort
  1948. 000013D4  2F2B 023C                move.l     -[A7], [A3 + 0x23C]
  1949. label000013D8:
  1950. 000013D8  A9D0                     trap       TECalText
  1951. 000013DA  41EE FFC2                lea.l      A0, [A6 - 0x3E]
  1952. 000013DE  43EB 0010                lea.l      A1, [A3 + 0x10]
  1953. 000013E2  20D9                     move.l     [A0]+, [A1]+
  1954. 000013E4  20D9                     move.l     [A0]+, [A1]+
  1955. 000013E6  486E FFC2                pea.l      [A6 - 0x3E]
  1956. 000013EA  A928                     trap       InvalRect
  1957. 000013EC  2F2E FFD8                move.l     -[A7], [A6 - 0x28]
  1958. 000013F0  A873                     trap       SetPort
  1959. 000013F2  2F0B                     move.l     -[A7], A3
  1960. 000013F4  4EAD 09AA                jsr        [A5 + 0x9AA]
  1961. 000013F8  6000 069A                bra        +0x69C /* 00001A94 */
  1962. label000013FC:
  1963. 000013FC  4267                     clr.w      -[A7]
  1964. 000013FE  2F2B 0348                move.l     -[A7], [A3 + 0x348]
  1965. 00001402  4EAD 047A                jsr        [A5 + 0x47A]
  1966. 00001406  101F                     move.b     D0, [A7]+
  1967. 00001408  6700 068A                beq        +0x68C /* 00001A94 */
  1968. 0000140C  4EBA F1AE                jsr        [PC - 0xE52 /* 000005BC */]
  1969. 00001410  2F0B                     move.l     -[A7], A3
  1970. 00001412  486E F99A                pea.l      [A6 - 0x666]
  1971. 00001416  A919                     trap       GetWTitle
  1972. 00001418  7003                     moveq.l    D0, 0x03
  1973. 0000141A  B06E 0008                cmp.w      D0, [A6 + 0x8]
  1974. 0000141E  663C                     bne        +0x3E /* 0000145C */
  1975. 00001420  486E FD9A                pea.l      [A6 - 0x266]
  1976. 00001424  2F3C 0007 0081           move.l     -[A7], 0x70081
  1977. 0000142A  4EAD 042A                jsr        [A5 + 0x42A]
  1978. 0000142E  486E F99A                pea.l      [A6 - 0x666]
  1979. 00001432  486E FD9A                pea.l      [A6 - 0x266]
  1980. 00001436  486E F7C4                pea.l      [A6 - 0x83C]
  1981. 0000143A  3F3C 0002                move.w     -[A7], 0x2
  1982. 0000143E  4EAD 0F32                jsr        [A5 + 0xF32]
  1983. 00001442  41EE F7C4                lea.l      A0, [A6 - 0x83C]
  1984. 00001446  1F10                     move.b     -[A7], [A0]
  1985. 00001448  3F3C 00FF                move.w     -[A7], 0xFF
  1986. 0000144C  4EAD 0F22                jsr        [A5 + 0xF22]
  1987. 00001450  43EE F99A                lea.l      A1, [A6 - 0x666]
  1988. 00001454  703F                     moveq.l    D0, 0x3F
  1989. label00001456:
  1990. 00001456  22D8                     move.l     [A1]+, [A0]+
  1991. 00001458  51C8 FFFC                dbf        D0, -0x6 /* 00001456 */
  1992. label0000145C:
  1993. 0000145C  487A 066A                pea.l      [PC + 0x66A /* 00001AC8 */]
  1994. 00001460  41EE F99A                lea.l      A0, [A6 - 0x666]
  1995. 00001464  1F10                     move.b     -[A7], [A0]
  1996. 00001466  3F3C 00FF                move.w     -[A7], 0xFF
  1997. 0000146A  4EAD 0F22                jsr        [A5 + 0xF22]
  1998. 0000146E  2F08                     move.l     -[A7], A0
  1999. 00001470  487A 0656                pea.l      [PC + 0x656 /* 00001AC8 */]
  2000. 00001474  487A 0652                pea.l      [PC + 0x652 /* 00001AC8 */]
  2001. 00001478  A98B                     trap       ParamText
  2002. 0000147A  42A7                     clr.l      -[A7]
  2003. 0000147C  3F3C 0082                move.w     -[A7], 0x82
  2004. 00001480  42A7                     clr.l      -[A7]
  2005. 00001482  70FF                     moveq.l    D0, 0xFFFFFFFF
  2006. 00001484  2F00                     move.l     -[A7], D0
  2007. 00001486  A97C                     trap       GetNewDialog
  2008. 00001488  2D57 FFDE                move.l     [A6 - 0x22], [A7]
  2009. 0000148C  A981                     trap       DrawDialog
  2010. 0000148E  486E F986                pea.l      [A6 - 0x67A]
  2011. 00001492  4EAD 03E2                jsr        [A5 + 0x3E2]
  2012. 00001496  2F2E F986                move.l     -[A7], [A6 - 0x67A]
  2013. 0000149A  4267                     clr.w      -[A7]
  2014. 0000149C  486E FC9A                pea.l      [A6 - 0x366]
  2015. 000014A0  4267                     clr.w      -[A7]
  2016. 000014A2  A9ED                     trap       Pack6
  2017. 000014A4  2D7C 022C 2020 FD9A      move.l     [A6 - 0x266], 0x22C2020
  2018. 000014AC  486E FC9A                pea.l      [A6 - 0x366]
  2019. 000014B0  486E FD9A                pea.l      [A6 - 0x266]
  2020. 000014B4  486E F7C4                pea.l      [A6 - 0x83C]
  2021. 000014B8  3F3C 0002                move.w     -[A7], 0x2
  2022. 000014BC  4EAD 0F32                jsr        [A5 + 0xF32]
  2023. 000014C0  41EE F7C4                lea.l      A0, [A6 - 0x83C]
  2024. 000014C4  1F10                     move.b     -[A7], [A0]
  2025. 000014C6  3F3C 00FF                move.w     -[A7], 0xFF
  2026. 000014CA  4EAD 0F22                jsr        [A5 + 0xF22]
  2027. 000014CE  43EE FC9A                lea.l      A1, [A6 - 0x366]
  2028. 000014D2  703F                     moveq.l    D0, 0x3F
  2029. label000014D4:
  2030. 000014D4  22D8                     move.l     [A1]+, [A0]+
  2031. 000014D6  51C8 FFFC                dbf        D0, -0x6 /* 000014D4 */
  2032. 000014DA  2F2E F986                move.l     -[A7], [A6 - 0x67A]
  2033. 000014DE  4267                     clr.w      -[A7]
  2034. 000014E0  486E FD9A                pea.l      [A6 - 0x266]
  2035. 000014E4  3F3C 0002                move.w     -[A7], 0x2
  2036. 000014E8  A9ED                     trap       Pack6
  2037. 000014EA  486E FC9A                pea.l      [A6 - 0x366]
  2038. 000014EE  486E FD9A                pea.l      [A6 - 0x266]
  2039. 000014F2  486E F7C4                pea.l      [A6 - 0x83C]
  2040. 000014F6  3F3C 0002                move.w     -[A7], 0x2
  2041. 000014FA  4EAD 0F32                jsr        [A5 + 0xF32]
  2042. 000014FE  41EE F7C4                lea.l      A0, [A6 - 0x83C]
  2043. 00001502  1F10                     move.b     -[A7], [A0]
  2044. 00001504  3F3C 00FF                move.w     -[A7], 0xFF
  2045. 00001508  4EAD 0F22                jsr        [A5 + 0xF22]
  2046. 0000150C  43EE FC9A                lea.l      A1, [A6 - 0x366]
  2047. 00001510  703F                     moveq.l    D0, 0x3F
  2048. label00001512:
  2049. 00001512  22D8                     move.l     [A1]+, [A0]+
  2050. 00001514  51C8 FFFC                dbf        D0, -0x6 /* 00001512 */
  2051. 00001518  486E FFD8                pea.l      [A6 - 0x28]
  2052. 0000151C  A874                     trap       GetPort
  2053. 0000151E  42A7                     clr.l      -[A7]
  2054. 00001520  2F2B 0348                move.l     -[A7], [A3 + 0x348]
  2055. 00001524  42A7                     clr.l      -[A7]
  2056. 00001526  42A7                     clr.l      -[A7]
  2057. 00001528  4EAD 0452                jsr        [A5 + 0x452]
  2058. 0000152C  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  2059. 00001530  486E F7BC                pea.l      [A6 - 0x844]
  2060. 00001534  2F2B 0348                move.l     -[A7], [A3 + 0x348]
  2061. 00001538  4EAD 0A82                jsr        [A5 + 0xA82]
  2062. 0000153C  205F                     movea.l    A0, [A7]+
  2063. 0000153E  43EE FFA2                lea.l      A1, [A6 - 0x5E]
  2064. 00001542  22D8                     move.l     [A1]+, [A0]+
  2065. 00001544  22D8                     move.l     [A1]+, [A0]+
  2066. 00001546  41EE FFAA                lea.l      A0, [A6 - 0x56]
  2067. 0000154A  43EE FFA2                lea.l      A1, [A6 - 0x5E]
  2068. 0000154E  20D9                     move.l     [A0]+, [A1]+
  2069. 00001550  20D9                     move.l     [A0]+, [A1]+
  2070. 00001552  41EE FFB2                lea.l      A0, [A6 - 0x4E]
  2071. 00001556  43EE FFA2                lea.l      A1, [A6 - 0x5E]
  2072. 0000155A  20D9                     move.l     [A0]+, [A1]+
  2073. 0000155C  20D9                     move.l     [A0]+, [A1]+
  2074. 0000155E  486E FD9A                pea.l      [A6 - 0x266]
  2075. 00001562  2F3C 0001 0081           move.l     -[A7], 0x10081
  2076. 00001568  4EAD 042A                jsr        [A5 + 0x42A]
  2077. 0000156C  41EE FD9A                lea.l      A0, [A6 - 0x266]
  2078. 00001570  1F10                     move.b     -[A7], [A0]
  2079. 00001572  3F3C 00FF                move.w     -[A7], 0xFF
  2080. 00001576  4EAD 0F22                jsr        [A5 + 0xF22]
  2081. 0000157A  2F08                     move.l     -[A7], A0
  2082. 0000157C  486E FFD6                pea.l      [A6 - 0x2A]
  2083. 00001580  A900                     trap       GetFNum
  2084. 00001582  42A7                     clr.l      -[A7]
  2085. 00001584  2F3C 0002 0081           move.l     -[A7], 0x20081
  2086. 0000158A  4EBA ED2E                jsr        [PC - 0x12D2 /* 000002BA */]
  2087. 0000158E  2D5F FFCA                move.l     [A6 - 0x36], [A7]+
  2088. 00001592  3F2E FFD6                move.w     -[A7], [A6 - 0x2A]
  2089. 00001596  A887                     trap       TextFont
  2090. 00001598  3F2E FFCC                move.w     -[A7], [A6 - 0x34]
  2091. 0000159C  A88A                     trap       TextSize
  2092. 0000159E  3F3A 0538                move.w     -[A7], [PC + 0x538 /* 00001AD8 */]
  2093. 000015A2  A888                     trap       TextFace
  2094. 000015A4  486E FF9A                pea.l      [A6 - 0x66]
  2095. 000015A8  A88B                     trap       GetFontInfo
  2096. 000015AA  302E FF9A                move.w     D0, [A6 - 0x66]
  2097. 000015AE  D06E FFA2                add.w      D0, [A6 - 0x5E]
  2098. 000015B2  322E FF9C                move.w     D1, [A6 - 0x64]
  2099. 000015B6  D240                     add.w      D1, D0
  2100. 000015B8  302E FFA0                move.w     D0, [A6 - 0x60]
  2101. 000015BC  D041                     add.w      D0, D1
  2102. 000015BE  5240                     addq.w     D0, 1
  2103. 000015C0  3D40 FFA6                move.w     [A6 - 0x5A], D0
  2104. 000015C4  302E FF9C                move.w     D0, [A6 - 0x64]
  2105. 000015C8  D06E FF9A                add.w      D0, [A6 - 0x66]
  2106. 000015CC  322E FFA0                move.w     D1, [A6 - 0x60]
  2107. 000015D0  D240                     add.w      D1, D0
  2108. 000015D2  5241                     addq.w     D1, 1
  2109. 000015D4  302E FFAE                move.w     D0, [A6 - 0x52]
  2110. 000015D8  9041                     sub.w      D0, D1
  2111. 000015DA  3D40 FFAA                move.w     [A6 - 0x56], D0
  2112. 000015DE  486E FA9A                pea.l      [A6 - 0x566]
  2113. 000015E2  2F3C 0003 0081           move.l     -[A7], 0x30081
  2114. 000015E8  4EAD 042A                jsr        [A5 + 0x42A]
  2115. 000015EC  486E FB9A                pea.l      [A6 - 0x466]
  2116. 000015F0  2F3C 0004 0081           move.l     -[A7], 0x40081
  2117. 000015F6  4EAD 042A                jsr        [A5 + 0x42A]
  2118. 000015FA  42A7                     clr.l      -[A7]
  2119. 000015FC  2F3C 0005 0081           move.l     -[A7], 0x50081
  2120. 00001602  4EBA ECB6                jsr        [PC - 0x134A /* 000002BA */]
  2121. 00001606  2D5F FFCE                move.l     [A6 - 0x32], [A7]+
  2122. 0000160A  302E FFA6                move.w     D0, [A6 - 0x5A]
  2123. 0000160E  48C0                     ext.l      D0
  2124. 00001610  222E FFCE                move.l     D1, [A6 - 0x32]
  2125. 00001614  D280                     add.l      D1, D0
  2126. 00001616  3D41 FFB2                move.w     [A6 - 0x4E], D1
  2127. 0000161A  42A7                     clr.l      -[A7]
  2128. 0000161C  2F3C 0006 0081           move.l     -[A7], 0x60081
  2129. 00001622  4EBA EC96                jsr        [PC - 0x136A /* 000002BA */]
  2130. 00001626  2D5F FFD2                move.l     [A6 - 0x2E], [A7]+
  2131. 0000162A  302E FFAA                move.w     D0, [A6 - 0x56]
  2132. 0000162E  48C0                     ext.l      D0
  2133. 00001630  90AE FFD2                sub.l      D0, [A6 - 0x2E]
  2134. 00001634  3D40 FFB6                move.w     [A6 - 0x4A], D0
  2135. 00001638  41EE FFBA                lea.l      A0, [A6 - 0x46]
  2136. 0000163C  43EE FFAA                lea.l      A1, [A6 - 0x56]
  2137. 00001640  20D9                     move.l     [A0]+, [A1]+
  2138. 00001642  20D9                     move.l     [A0]+, [A1]+
  2139. 00001644  302E FF9C                move.w     D0, [A6 - 0x64]
  2140. 00001648  916E FFBE                sub.w      [A6 - 0x42], D0
  2141. 0000164C  302E FFBE                move.w     D0, [A6 - 0x42]
  2142. 00001650  5140                     subq.w     D0, 8
  2143. 00001652  3D40 FFBA                move.w     [A6 - 0x46], D0
  2144. 00001656  302E FFC0                move.w     D0, [A6 - 0x40]
  2145. 0000165A  5140                     subq.w     D0, 8
  2146. 0000165C  3D40 FFBC                move.w     [A6 - 0x44], D0
  2147. 00001660  4246                     clr.w      D6
  2148. 00001662  206B 023C                movea.l    A0, [A3 + 0x23C]
  2149. 00001666  2050                     movea.l    A0, [A0]
  2150. 00001668  3A28 005E                move.w     D5, [A0 + 0x5E]
  2151. 0000166C  7003                     moveq.l    D0, 0x03
  2152. 0000166E  B06E 0008                cmp.w      D0, [A6 + 0x8]
  2153. 00001672  6648                     bne        +0x4A /* 000016BC */
  2154. label00001674:
  2155. 00001674  206B 023C                movea.l    A0, [A3 + 0x23C]
  2156. 00001678  2050                     movea.l    A0, [A0]
  2157. 0000167A  3006                     move.w     D0, D6
  2158. 0000167C  41BC 3E80 D040           .invalid   0, 0x3E80D040 // invalid opcode 4 with b == 6
  2159. 00001682  226B 023C                movea.l    A1, [A3 + 0x23C]
  2160. 00001686  2251                     movea.l    A1, [A1]
  2161. 00001688  3230 0060                move.w     D1, [A0 + D0.w + 0x60]
  2162. 0000168C  B269 0020                cmp.w      D1, [A1 + 0x20]
  2163. 00001690  6E04                     bgt        +0x6 /* 00001696 */
  2164. 00001692  5246                     addq.w     D6, 1
  2165. 00001694  60DE                     bra        -0x20 /* 00001674 */
  2166. label00001696:
  2167. 00001696  5346                     subq.w     D6, 1
  2168. 00001698  3A06                     move.w     D5, D6
  2169. label0000169A:
  2170. 0000169A  206B 023C                movea.l    A0, [A3 + 0x23C]
  2171. 0000169E  2050                     movea.l    A0, [A0]
  2172. 000016A0  3005                     move.w     D0, D5
  2173. 000016A2  41BC 3E80 D040           .invalid   0, 0x3E80D040 // invalid opcode 4 with b == 6
  2174. 000016A8  226B 023C                movea.l    A1, [A3 + 0x23C]
  2175. 000016AC  2251                     movea.l    A1, [A1]
  2176. 000016AE  3230 0060                move.w     D1, [A0 + D0.w + 0x60]
  2177. 000016B2  B269 0022                cmp.w      D1, [A1 + 0x22]
  2178. 000016B6  6E04                     bgt        +0x6 /* 000016BC */
  2179. 000016B8  5245                     addq.w     D5, 1
  2180. 000016BA  60DE                     bra        -0x20 /* 0000169A */
  2181. label000016BC:
  2182. 000016BC  3E06                     move.w     D7, D6
  2183. 000016BE  4267                     clr.w      -[A7]
  2184. 000016C0  486E F97A                pea.l      [A6 - 0x686]
  2185. 000016C4  486E F976                pea.l      [A6 - 0x68A]
  2186. 000016C8  486E F978                pea.l      [A6 - 0x688]
  2187. 000016CC  2F2B 023C                move.l     -[A7], [A3 + 0x23C]
  2188. 000016D0  3F3C 0003                move.w     -[A7], 0x3
  2189. label000016D3: // (misaligned)
  2190. 000016D4  A83D                     trap       TEDispatch
  2191. 000016D6  302E FFB6                move.w     D0, [A6 - 0x4A]
  2192. 000016DA  906E FFB2                sub.w      D0, [A6 - 0x4E]
  2193. 000016DE  48C0                     ext.l      D0
  2194. 000016E0  81EE F976                divs.w     D0, [A6 - 0x68A]
  2195. 000016E4  3D40 F98A                move.w     [A6 - 0x676], D0
  2196. 000016E8  426E FFDC                clr.w      [A6 - 0x24]
  2197. 000016EC  422E F975                clr.b      [A6 - 0x68B]
  2198. label000016F0:
  2199. 000016F0  526E FFDC                addq.w     [A6 - 0x24], 1
  2200. 000016F4  4267                     clr.w      -[A7]
  2201. 000016F6  4EAD 048A                jsr        [A5 + 0x48A]
  2202. 000016FA  4A5F                     tst.w      [A7]+
  2203. 000016FC  6600 02A4                bne        +0x2A6 /* 000019A2 */
  2204. 00001700  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2205. 00001704  42A7                     clr.l      -[A7]
  2206. 00001706  4EAD 0462                jsr        [A5 + 0x462]
  2207. 0000170A  3F2E FFD6                move.w     -[A7], [A6 - 0x2A]
  2208. 0000170E  A887                     trap       TextFont
  2209. 00001710  3F2E FFCC                move.w     -[A7], [A6 - 0x34]
  2210. 00001714  A88A                     trap       TextSize
  2211. 00001716  3F3A 03C0                move.w     -[A7], [PC + 0x3C0 /* 00001AD8 */]
  2212. 0000171A  A888                     trap       TextFace
  2213. 0000171C  302E FFA4                move.w     D0, [A6 - 0x5C]
  2214. 00001720  D06E FFA8                add.w      D0, [A6 - 0x58]
  2215. 00001724  2F00                     move.l     -[A7], D0
  2216. 00001726  4267                     clr.w      -[A7]
  2217. 00001728  41EE F99A                lea.l      A0, [A6 - 0x666]
  2218. 0000172C  1F10                     move.b     -[A7], [A0]
  2219. 0000172E  3F3C 00FF                move.w     -[A7], 0xFF
  2220. 00001732  4EAD 0F22                jsr        [A5 + 0xF22]
  2221. 00001736  2F08                     move.l     -[A7], A0
  2222. 00001738  A88C                     trap       StringWidth
  2223. 0000173A  321F                     move.w     D1, [A7]+
  2224. 0000173C  201F                     move.l     D0, [A7]+
  2225. 0000173E  9041                     sub.w      D0, D1
  2226. 00001740  48C0                     ext.l      D0
  2227. 00001742  81FC 0002                divs.w     D0, 0x2
  2228. 00001746  3F00                     move.w     -[A7], D0
  2229. 00001748  302E FFA6                move.w     D0, [A6 - 0x5A]
  2230. 0000174C  906E FF9C                sub.w      D0, [A6 - 0x64]
  2231. 00001750  3F00                     move.w     -[A7], D0
  2232. 00001752  A893                     trap       MoveTo
  2233. 00001754  41EE F99A                lea.l      A0, [A6 - 0x666]
  2234. 00001758  1F10                     move.b     -[A7], [A0]
  2235. 0000175A  3F3C 00FF                move.w     -[A7], 0xFF
  2236. 0000175E  4EAD 0F22                jsr        [A5 + 0xF22]
  2237. 00001762  2F08                     move.l     -[A7], A0
  2238. 00001764  A884                     trap       DrawString
  2239. 00001766  3F2E FFA4                move.w     -[A7], [A6 - 0x5C]
  2240. 0000176A  302E FFA6                move.w     D0, [A6 - 0x5A]
  2241. 0000176E  906E FF9C                sub.w      D0, [A6 - 0x64]
  2242. 00001772  3F00                     move.w     -[A7], D0
  2243. 00001774  A893                     trap       MoveTo
  2244. 00001776  41EE FC9A                lea.l      A0, [A6 - 0x366]
  2245. 0000177A  1F10                     move.b     -[A7], [A0]
  2246. 0000177C  3F3C 00FF                move.w     -[A7], 0xFF
  2247. 00001780  4EAD 0F22                jsr        [A5 + 0xF22]
  2248. 00001784  2F08                     move.l     -[A7], A0
  2249. 00001786  A884                     trap       DrawString
  2250. 00001788  3F2E F97A                move.w     -[A7], [A6 - 0x686]
  2251. 0000178C  A887                     trap       TextFont
  2252. 0000178E  3F2E F97E                move.w     -[A7], [A6 - 0x682]
  2253. 00001792  A88A                     trap       TextSize
  2254. 00001794  3F3A 0342                move.w     -[A7], [PC + 0x342 /* 00001AD8 */]
  2255. 00001798  A888                     trap       TextFace
  2256. 0000179A  206B 023C                movea.l    A0, [A3 + 0x23C]
  2257. 0000179E  2850                     movea.l    A4, [A0]
  2258. 000017A0  3D47 F98E                move.w     [A6 - 0x672], D7
  2259. 000017A4  382E F98A                move.w     D4, [A6 - 0x676]
  2260. 000017A8  D847                     add.w      D4, D7
  2261. 000017AA  BA44                     cmp.w      D5, D4
  2262. 000017AC  6E0A                     bgt        +0xC /* 000017B8 */
  2263. 000017AE  3805                     move.w     D4, D5
  2264. 000017B0  5344                     subq.w     D4, 1
  2265. 000017B2  1D7C 0001 F975           move.b     [A6 - 0x68B], 0x1
  2266. label000017B8:
  2267. 000017B8  3D44 F7BA                move.w     [A6 - 0x846], D4
  2268. 000017BC  3E2E F98E                move.w     D7, [A6 - 0x672]
  2269. 000017C0  6000 00E0                bra        +0xE2 /* 000018A2 */
  2270. label000017C4:
  2271. 000017C4  3F2E FFB4                move.w     -[A7], [A6 - 0x4C]
  2272. 000017C8  3007                     move.w     D0, D7
  2273. 000017CA  906E F98E                sub.w      D0, [A6 - 0x672]
  2274. 000017CE  C1EE F976                muls.w     D0, [A6 - 0x68A]
  2275. 000017D2  D06E FFB2                add.w      D0, [A6 - 0x4E]
  2276. 000017D6  322E F978                move.w     D1, [A6 - 0x688]
  2277. 000017DA  D240                     add.w      D1, D0
  2278. 000017DC  3F01                     move.w     -[A7], D1
  2279. 000017DE  A893                     trap       MoveTo
  2280. 000017E0  7003                     moveq.l    D0, 0x03
  2281. 000017E2  B06E 0008                cmp.w      D0, [A6 + 0x8]
  2282. 000017E6  57C0                     seq        D0
  2283. 000017E8  BC47                     cmp.w      D6, D7
  2284. 000017EA  57C1                     seq        D1
  2285. 000017EC  C001                     and.b      D0, D1
  2286. 000017EE  6738                     beq        +0x3A /* 00001828 */
  2287. 000017F0  206C 003E                movea.l    A0, [A4 + 0x3E]
  2288. 000017F4  302C 0020                move.w     D0, [A4 + 0x20]
  2289. 000017F8  48C0                     ext.l      D0
  2290. 000017FA  D090                     add.l      D0, [A0]
  2291. 000017FC  720D                     moveq.l    D1, 0x0D
  2292. 000017FE  43BC 00FF B240           .invalid   1, 0xFFB240 // invalid opcode 4 with b == 6
  2293. 00001804  57C0                     seq        D0
  2294. 00001806  322C 0020                move.w     D1, [A4 + 0x20]
  2295. 0000180A  B26C 0022                cmp.w      D1, [A4 + 0x22]
  2296. 0000180E  5DC1                     slt        D1
  2297. 00001810  C001                     and.b      D0, D1
  2298. 00001812  670C                     beq        +0xE /* 00001820 */
  2299. 00001814  302C 0020                move.w     D0, [A4 + 0x20]
  2300. 00001818  5240                     addq.w     D0, 1
  2301. 0000181A  3D40 F992                move.w     [A6 - 0x66E], D0
  2302. 0000181E  6016                     bra        +0x18 /* 00001836 */
  2303. label00001820:
  2304. 00001820  3D6C 0020 F992           move.w     [A6 - 0x66E], [A4 + 0x20]
  2305. 00001826  600E                     bra        +0x10 /* 00001836 */
  2306. label00001828:
  2307. 00001828  3007                     move.w     D0, D7
  2308. 0000182A  41BC 3E80 D040           .invalid   0, 0x3E80D040 // invalid opcode 4 with b == 6
  2309. 00001830  3D74 0060 F992           move.w     [A6 - 0x66E], [A4 + D0.w + 0x60]
  2310. label00001836:
  2311. 00001836  7003                     moveq.l    D0, 0x03
  2312. 00001838  B06E 0008                cmp.w      D0, [A6 + 0x8]
  2313. 0000183C  57C0                     seq        D0
  2314. 0000183E  3205                     move.w     D1, D5
  2315. 00001840  5341                     subq.w     D1, 1
  2316. 00001842  B247                     cmp.w      D1, D7
  2317. 00001844  57C1                     seq        D1
  2318. 00001846  C001                     and.b      D0, D1
  2319. 00001848  6708                     beq        +0xA /* 00001852 */
  2320. 0000184A  3D6C 0022 F994           move.w     [A6 - 0x66C], [A4 + 0x22]
  2321. 00001850  6010                     bra        +0x12 /* 00001862 */
  2322. label00001852:
  2323. 00001852  3007                     move.w     D0, D7
  2324. 00001854  5240                     addq.w     D0, 1
  2325. 00001856  41BC 3E80 D040           .invalid   0, 0x3E80D040 // invalid opcode 4 with b == 6
  2326. 0000185C  3D74 0060 F994           move.w     [A6 - 0x66C], [A4 + D0.w + 0x60]
  2327. label00001862:
  2328. 00001862  302E F994                move.w     D0, [A6 - 0x66C]
  2329. 00001866  906E F992                sub.w      D0, [A6 - 0x66E]
  2330. 0000186A  3D40 F996                move.w     [A6 - 0x66A], D0
  2331. 0000186E  206C 003E                movea.l    A0, [A4 + 0x3E]
  2332. 00001872  302E F994                move.w     D0, [A6 - 0x66C]
  2333. 00001876  48C0                     ext.l      D0
  2334. 00001878  D090                     add.l      D0, [A0]
  2335. 0000187A  720D                     moveq.l    D1, 0x0D
  2336. 0000187C  43BC 00FF B240           .invalid   1, 0xFFB240 // invalid opcode 4 with b == 6
  2337. 00001882  6604                     bne        +0x6 /* 00001888 */
  2338. 00001884  536E F996                subq.w     [A6 - 0x66A], 1
  2339. label00001888:
  2340. 00001888  4A6E F996                tst.w      [A6 - 0x66A]
  2341. 0000188C  6F10                     ble        +0x12 /* 0000189E */
  2342. 0000188E  206C 003E                movea.l    A0, [A4 + 0x3E]
  2343. 00001892  2F10                     move.l     -[A7], [A0]
  2344. 00001894  3F2E F992                move.w     -[A7], [A6 - 0x66E]
  2345. 00001898  3F2E F996                move.w     -[A7], [A6 - 0x66A]
  2346. 0000189C  A885                     trap       DrawText
  2347. label0000189E:
  2348. 0000189E  5247                     addq.w     D7, 1
  2349. 000018A0  6908                     bvs        +0xA /* 000018AA */
  2350. label000018A2:
  2351. 000018A2  BE6E F7BA                cmp.w      D7, [A6 - 0x846]
  2352. 000018A6  6F00 FF1C                ble        -0xE2 /* 000017C4 */
  2353. label000018AA:
  2354. 000018AA  3E04                     move.w     D7, D4
  2355. 000018AC  5247                     addq.w     D7, 1
  2356. 000018AE  3F2E FFD6                move.w     -[A7], [A6 - 0x2A]
  2357. 000018B2  A887                     trap       TextFont
  2358. 000018B4  3F2E FFCC                move.w     -[A7], [A6 - 0x34]
  2359. 000018B8  A88A                     trap       TextSize
  2360. 000018BA  3F3A 021C                move.w     -[A7], [PC + 0x21C /* 00001AD8 */]
  2361. 000018BE  A888                     trap       TextFace
  2362. 000018C0  302E FFDC                move.w     D0, [A6 - 0x24]
  2363. 000018C4  48C0                     ext.l      D0
  2364. 000018C6  2F00                     move.l     -[A7], D0
  2365. 000018C8  486E FD9A                pea.l      [A6 - 0x266]
  2366. 000018CC  4EAD 044A                jsr        [A5 + 0x44A]
  2367. 000018D0  486E FA9A                pea.l      [A6 - 0x566]
  2368. 000018D4  486E FD9A                pea.l      [A6 - 0x266]
  2369. 000018D8  486E FB9A                pea.l      [A6 - 0x466]
  2370. 000018DC  486E F7C4                pea.l      [A6 - 0x83C]
  2371. 000018E0  3F3C 0003                move.w     -[A7], 0x3
  2372. 000018E4  4EAD 0F32                jsr        [A5 + 0xF32]
  2373. 000018E8  41EE F7C4                lea.l      A0, [A6 - 0x83C]
  2374. 000018EC  1F10                     move.b     -[A7], [A0]
  2375. 000018EE  3F3C 00FF                move.w     -[A7], 0xFF
  2376. 000018F2  4EAD 0F22                jsr        [A5 + 0xF22]
  2377. 000018F6  43EE FD9A                lea.l      A1, [A6 - 0x266]
  2378. 000018FA  703F                     moveq.l    D0, 0x3F
  2379. label000018FC:
  2380. 000018FC  22D8                     move.l     [A1]+, [A0]+
  2381. 000018FE  51C8 FFFC                dbf        D0, -0x6 /* 000018FC */
  2382. 00001902  302E FFAC                move.w     D0, [A6 - 0x54]
  2383. 00001906  D06E FFB0                add.w      D0, [A6 - 0x50]
  2384. 0000190A  2F00                     move.l     -[A7], D0
  2385. 0000190C  4267                     clr.w      -[A7]
  2386. 0000190E  41EE FD9A                lea.l      A0, [A6 - 0x266]
  2387. 00001912  1F10                     move.b     -[A7], [A0]
  2388. 00001914  3F3C 00FF                move.w     -[A7], 0xFF
  2389. 00001918  4EAD 0F22                jsr        [A5 + 0xF22]
  2390. 0000191C  2F08                     move.l     -[A7], A0
  2391. 0000191E  A88C                     trap       StringWidth
  2392. 00001920  321F                     move.w     D1, [A7]+
  2393. 00001922  201F                     move.l     D0, [A7]+
  2394. 00001924  9041                     sub.w      D0, D1
  2395. 00001926  48C0                     ext.l      D0
  2396. 00001928  81FC 0002                divs.w     D0, 0x2
  2397. 0000192C  3F00                     move.w     -[A7], D0
  2398. 0000192E  302E FFAE                move.w     D0, [A6 - 0x52]
  2399. 00001932  906E FF9C                sub.w      D0, [A6 - 0x64]
  2400. 00001936  5340                     subq.w     D0, 1
  2401. 00001938  3F00                     move.w     -[A7], D0
  2402. 0000193A  A893                     trap       MoveTo
  2403. 0000193C  41EE FD9A                lea.l      A0, [A6 - 0x266]
  2404. 00001940  1F10                     move.b     -[A7], [A0]
  2405. 00001942  3F3C 00FF                move.w     -[A7], 0xFF
  2406. 00001946  4EAD 0F22                jsr        [A5 + 0xF22]
  2407. 0000194A  2F08                     move.l     -[A7], A0
  2408. 0000194C  A884                     trap       DrawString
  2409. 0000194E  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  2410. 00001952  A88A                     trap       TextSize
  2411. 00001954  3F2E FFAC                move.w     -[A7], [A6 - 0x54]
  2412. 00001958  302E FFAE                move.w     D0, [A6 - 0x52]
  2413. 0000195C  906E FF9C                sub.w      D0, [A6 - 0x64]
  2414. 00001960  5340                     subq.w     D0, 1
  2415. 00001962  3F00                     move.w     -[A7], D0
  2416. 00001964  A893                     trap       MoveTo
  2417. 00001966  487A 0162                pea.l      [PC + 0x162 /* 00001ACA, pstring "Open Prolog " */]
  2418. 0000196A  486D FDFA                pea.l      [A5 - 0x206]
  2419. 0000196E  486E F7C4                pea.l      [A6 - 0x83C]
  2420. 00001972  3F3C 0002                move.w     -[A7], 0x2
  2421. 00001976  4EAD 0F32                jsr        [A5 + 0xF32]
  2422. 0000197A  41EE F7C4                lea.l      A0, [A6 - 0x83C]
  2423. 0000197E  1F10                     move.b     -[A7], [A0]
  2424. 00001980  3F3C 00FF                move.w     -[A7], 0xFF
  2425. 00001984  4EAD 0F22                jsr        [A5 + 0xF22]
  2426. 00001988  2F08                     move.l     -[A7], A0
  2427. 0000198A  A884                     trap       DrawString
  2428. 0000198C  486E FFBA                pea.l      [A6 - 0x46]
  2429. 00001990  42A7                     clr.l      -[A7]
  2430. 00001992  3F3C 0080                move.w     -[A7], 0x80
  2431. 00001996  A9BB                     trap       GetIcon
  2432. 00001998  A94B                     trap       PlotIcon
  2433. 0000199A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2434. 0000199E  4EAD 046A                jsr        [A5 + 0x46A]
  2435. label000019A2:
  2436. 000019A2  4267                     clr.w      -[A7]
  2437. 000019A4  4EAD 048A                jsr        [A5 + 0x48A]
  2438. 000019A8  4A5F                     tst.w      [A7]+
  2439. 000019AA  56C0                     sne        D0
  2440. 000019AC  802E F975                or.b       D0, [A6 - 0x68B]
  2441. 000019B0  0240 0001                andi.w     D0, 0x1
  2442. 000019B4  6700 FD3A                beq        -0x2C4 /* 000016F0 */
  2443. 000019B8  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2444. 000019BC  4EAD 045A                jsr        [A5 + 0x45A]
  2445. 000019C0  2F2E FFD8                move.l     -[A7], [A6 - 0x28]
  2446. 000019C4  A873                     trap       SetPort
  2447. 000019C6  206B 0348                movea.l    A0, [A3 + 0x348]
  2448. 000019CA  2050                     movea.l    A0, [A0]
  2449. 000019CC  7001                     moveq.l    D0, 0x01
  2450. 000019CE  B028 0044                cmp.b      D0, [A0 + 0x44]
  2451. 000019D2  57C0                     seq        D0
  2452. 000019D4  2F00                     move.l     -[A7], D0
  2453. 000019D6  4267                     clr.w      -[A7]
  2454. 000019D8  4EAD 048A                jsr        [A5 + 0x48A]
  2455. 000019DC  321F                     move.w     D1, [A7]+
  2456. 000019DE  201F                     move.l     D0, [A7]+
  2457. 000019E0  4A41                     tst.w      D1
  2458. 000019E2  57C1                     seq        D1
  2459. 000019E4  C001                     and.b      D0, D1
  2460. 000019E6  6712                     beq        +0x14 /* 000019FA */
  2461. 000019E8  2F2B 0348                move.l     -[A7], [A3 + 0x348]
  2462. 000019EC  42A7                     clr.l      -[A7]
  2463. 000019EE  42A7                     clr.l      -[A7]
  2464. 000019F0  42A7                     clr.l      -[A7]
  2465. 000019F2  486E FFE2                pea.l      [A6 - 0x1E]
  2466. 000019F6  4EAD 0482                jsr        [A5 + 0x482]
  2467. label000019FA:
  2468. 000019FA  2F2E FFDE                move.l     -[A7], [A6 - 0x22]
  2469. 000019FE  A983                     trap       DisposeDialog
  2470. 00001A00  4267                     clr.w      -[A7]
  2471. 00001A02  4EAD 048A                jsr        [A5 + 0x48A]
  2472. 00001A06  4A5F                     tst.w      [A7]+
  2473. 00001A08  6700 008A                beq        +0x8C /* 00001A94 */
  2474. 00001A0C  4267                     clr.w      -[A7]
  2475. 00001A0E  4EAD 048A                jsr        [A5 + 0x48A]
  2476. 00001A12  0C5F 0080                cmpi.w     [A7]+, 0x80
  2477. 00001A16  662E                     bne        +0x30 /* 00001A46 */
  2478. 00001A18  41EE F99A                lea.l      A0, [A6 - 0x666]
  2479. 00001A1C  1F10                     move.b     -[A7], [A0]
  2480. 00001A1E  3F3C 00FF                move.w     -[A7], 0xFF
  2481. 00001A22  4EAD 0F22                jsr        [A5 + 0xF22]
  2482. 00001A26  2F08                     move.l     -[A7], A0
  2483. 00001A28  487A 009E                pea.l      [PC + 0x9E /* 00001AC8 */]
  2484. 00001A2C  487A 009A                pea.l      [PC + 0x9A /* 00001AC8 */]
  2485. 00001A30  487A 0096                pea.l      [PC + 0x96 /* 00001AC8 */]
  2486. 00001A34  A98B                     trap       ParamText
  2487. 00001A36  2F3C 00CD 0000           move.l     -[A7], 0xCD0000
  2488. 00001A3C  42A7                     clr.l      -[A7]
  2489. 00001A3E  A987                     trap       NoteAlert
  2490. 00001A40  3D5F F998                move.w     [A6 - 0x668], [A7]+
  2491. 00001A44  604E                     bra        +0x50 /* 00001A94 */
  2492. label00001A46:
  2493. 00001A46  4267                     clr.w      -[A7]
  2494. 00001A48  4EAD 048A                jsr        [A5 + 0x48A]
  2495. 00001A4C  486E FD9A                pea.l      [A6 - 0x266]
  2496. 00001A50  4EAD 0F0A                jsr        [A5 + 0xF0A]
  2497. 00001A54  41EE F99A                lea.l      A0, [A6 - 0x666]
  2498. 00001A58  1F10                     move.b     -[A7], [A0]
  2499. 00001A5A  3F3C 00FF                move.w     -[A7], 0xFF
  2500. 00001A5E  4EAD 0F22                jsr        [A5 + 0xF22]
  2501. 00001A62  2F08                     move.l     -[A7], A0
  2502. 00001A64  41EE FD9A                lea.l      A0, [A6 - 0x266]
  2503. 00001A68  1F10                     move.b     -[A7], [A0]
  2504. 00001A6A  3F3C 00FF                move.w     -[A7], 0xFF
  2505. 00001A6E  4EAD 0F22                jsr        [A5 + 0xF22]
  2506. 00001A72  2F08                     move.l     -[A7], A0
  2507. 00001A74  487A 0052                pea.l      [PC + 0x52 /* 00001AC8 */]
  2508. 00001A78  487A 004E                pea.l      [PC + 0x4E /* 00001AC8 */]
  2509. 00001A7C  A98B                     trap       ParamText
  2510. 00001A7E  2F3C 00CE 0000           move.l     -[A7], 0xCE0000
  2511. 00001A84  42A7                     clr.l      -[A7]
  2512. 00001A86  A988                     trap       CautionAlert
  2513. 00001A88  3D5F F998                move.w     [A6 - 0x668], [A7]+
  2514. 00001A8C  6006                     bra        +0x8 /* 00001A94 */
  2515. label00001A8E:
  2516. 00001A8E  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  2517. 00001A92  A9C8                     trap       SysBeep
  2518. label00001A94:
  2519. 00001A94  4EAD 049A                jsr        [A5 + 0x49A]
  2520. 00001A98  4EAD 0982                jsr        [A5 + 0x982]
  2521. 00001A9C  6008                     bra        +0xA /* 00001AA6 */
  2522. label00001A9E:
  2523. 00001A9E  3F3C 001A                move.w     -[A7], 0x1A
  2524. 00001AA2  4EAD 04FA                jsr        [A5 + 0x4FA]
  2525. label00001AA5: // (misaligned)
  2526. label00001AA6:
  2527. 00001AA6  4CDF 18F0                movem.l    A4,A3,D7,D6,D5,D4, [A7]+
  2528. 00001AAA  4E5E                     unlink     A6
  2529. 00001AAC  205F                     movea.l    A0, [A7]+
  2530. 00001AAE  5C4F                     addq.w     A7, 6
  2531. 00001AB0  4ED0                     jmp        [A0]
  2532. 00001AB2  9350                     sub.w      [A0], D1
  2533. 00001AB4  5249                     addq.w     A1, 1
  2534. 00001AB6  4E54 5354                link       A4, -0xFFFFACAC
  2535. 00001ABA  414E                     chk.w      D0, A6
  2536. 00001ABC  4441                     neg.w      D1
  2537. 00001ABE  5244                     addq.w     D4, 1
  2538. 00001AC0  5749                     subq.w     A1, 3
  2539. 00001AC2  4E44                     trap       4
  2540. 00001AC4  4F57                     chk.w      D7, [A7]
  2541. 00001AC6  0012 0000                ori.b      [A2], 0x0
  2542. 00001ACA  0C4F 7065                cmpi.w     A7, 0x7065 /* 'pe' */
  2543. 00001ACE  6E20                     bgt        +0x22 /* 00001AF0 */
  2544. 00001AD0  5072 6F6C                addq.w     <<invalid full ext with I/IS == 4>>, 8
  2545. 00001AD4  6F67                     ble        +0x69 /* 00001B3D */
  2546. 00001AD6  2000                     move.l     D0, D0
  2547. 00001AD8  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2548. 00001ADC  FFFA                     .extension 0xFFA // unimplemented
  2549. 00001ADE  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  2550. 00001AE2  266E 000A                movea.l    A3, [A6 + 0xA]
  2551. 00001AE6  3C2E 0008                move.w     D6, [A6 + 0x8]
  2552. 00001AEA  7E0A                     moveq.l    D7, 0x0A
  2553. 00001AEC  7016                     moveq.l    D0, 0x16
  2554. 00001AEE  B046                     cmp.w      D0, D6
  2555. label00001AF0:
  2556. 00001AF0  57C0                     seq        D0
  2557. 00001AF2  7217                     moveq.l    D1, 0x17
  2558. 00001AF4  B246                     cmp.w      D1, D6
  2559. 00001AF6  57C1                     seq        D1
  2560. 00001AF8  8001                     or.b       D0, D1
  2561. 00001AFA  672C                     beq        +0x2E /* 00001B28 */
  2562. 00001AFC  2053                     movea.l    A0, [A3]
  2563. 00001AFE  2068 0004                movea.l    A0, [A0 + 0x4]
  2564. 00001B02  2068 023C                movea.l    A0, [A0 + 0x23C]
  2565. 00001B06  2050                     movea.l    A0, [A0]
  2566. 00001B08  49E8 0008                lea.l      A4, [A0 + 0x8]
  2567. 00001B0C  42A7                     clr.l      -[A7]
  2568. 00001B0E  302C 0006                move.w     D0, [A4 + 0x6]
  2569. 00001B12  906C 0002                sub.w      D0, [A4 + 0x2]
  2570. 00001B16  907C 000A                sub.w      D0, 0xA /* '\n' */
  2571. 00001B1A  48C0                     ext.l      D0
  2572. 00001B1C  2F00                     move.l     -[A7], D0
  2573. 00001B1E  42A7                     clr.l      -[A7]
  2574. 00001B20  4EBA E96E                jsr        [PC - 0x1692 /* 00000490 */]
  2575. 00001B24  201F                     move.l     D0, [A7]+
  2576. 00001B26  3E00                     move.w     D7, D0
  2577. label00001B28:
  2578. 00001B28  3006                     move.w     D0, D6
  2579. 00001B2A  0440 0014                subi.w     D0, 0x14
  2580. 00001B2E  6710                     beq        +0x12 /* 00001B40 */
  2581. 00001B30  5340                     subq.w     D0, 1
  2582. 00001B32  6758                     beq        +0x5A /* 00001B8C */
  2583. 00001B34  5340                     subq.w     D0, 1
  2584. 00001B36  6708                     beq        +0xA /* 00001B40 */
  2585. 00001B38  5340                     subq.w     D0, 1
  2586. 00001B3A  6750                     beq        +0x52 /* 00001B8C */
  2587. 00001B3C  6000 0098                bra        +0x9A /* 00001BD6 */
  2588. label00001B3D: // (misaligned)
  2589. label00001B40:
  2590. 00001B40  4267                     clr.w      -[A7]
  2591. 00001B42  2F0B                     move.l     -[A7], A3
  2592. 00001B44  A960                     trap       GetControlValue/GetCtlValue
  2593. 00001B46  301F                     move.w     D0, [A7]+
  2594. 00001B48  48C0                     ext.l      D0
  2595. 00001B4A  2F00                     move.l     -[A7], D0
  2596. 00001B4C  42A7                     clr.l      -[A7]
  2597. 00001B4E  2F00                     move.l     -[A7], D0
  2598. 00001B50  4267                     clr.w      -[A7]
  2599. 00001B52  2F0B                     move.l     -[A7], A3
  2600. 00001B54  A961                     trap       GetControlMinimum/GetMinCtl
  2601. label00001B56:
  2602. 00001B56  321F                     move.w     D1, [A7]+
  2603. 00001B58  201F                     move.l     D0, [A7]+
  2604. 00001B5A  48C1                     ext.l      D1
  2605. 00001B5C  2F01                     move.l     -[A7], D1
  2606. 00001B5E  2F00                     move.l     -[A7], D0
  2607. 00001B60  4267                     clr.w      -[A7]
  2608. 00001B62  2F0B                     move.l     -[A7], A3
  2609. 00001B64  A960                     trap       GetControlValue/GetCtlValue
  2610. 00001B66  321F                     move.w     D1, [A7]+
  2611. 00001B68  201F                     move.l     D0, [A7]+
  2612. 00001B6A  9247                     sub.w      D1, D7
  2613. 00001B6C  48C1                     ext.l      D1
  2614. 00001B6E  2F01                     move.l     -[A7], D1
  2615. 00001B70  4EBA E91E                jsr        [PC - 0x16E2 /* 00000490 */]
  2616. 00001B74  221F                     move.l     D1, [A7]+
  2617. 00001B76  201F                     move.l     D0, [A7]+
  2618. 00001B78  9081                     sub.l      D0, D1
  2619. 00001B7A  3F00                     move.w     -[A7], D0
  2620. 00001B7C  4267                     clr.w      -[A7]
  2621. 00001B7E  2053                     movea.l    A0, [A3]
  2622. 00001B80  2068 0004                movea.l    A0, [A0 + 0x4]
  2623. 00001B84  2F28 023C                move.l     -[A7], [A0 + 0x23C]
  2624. 00001B88  A9DD                     trap       TEScroll
  2625. 00001B8A  604A                     bra        +0x4C /* 00001BD6 */
  2626. label00001B8C:
  2627. 00001B8C  4267                     clr.w      -[A7]
  2628. 00001B8E  2F0B                     move.l     -[A7], A3
  2629. 00001B90  A960                     trap       GetControlValue/GetCtlValue
  2630. 00001B92  301F                     move.w     D0, [A7]+
  2631. 00001B94  48C0                     ext.l      D0
  2632. 00001B96  2F00                     move.l     -[A7], D0
  2633. 00001B98  42A7                     clr.l      -[A7]
  2634. label00001B9A:
  2635. 00001B9A  2F00                     move.l     -[A7], D0
  2636. 00001B9C  4267                     clr.w      -[A7]
  2637. 00001B9E  2F0B                     move.l     -[A7], A3
  2638. 00001BA0  A962                     trap       GetControlMaximum/GetMaxCtl
  2639. 00001BA2  321F                     move.w     D1, [A7]+
  2640. 00001BA4  201F                     move.l     D0, [A7]+
  2641. 00001BA6  48C1                     ext.l      D1
  2642. 00001BA8  2F01                     move.l     -[A7], D1
  2643. 00001BAA  2F00                     move.l     -[A7], D0
  2644. 00001BAC  4267                     clr.w      -[A7]
  2645. 00001BAE  2F0B                     move.l     -[A7], A3
  2646. 00001BB0  A960                     trap       GetControlValue/GetCtlValue
  2647. 00001BB2  321F                     move.w     D1, [A7]+
  2648. 00001BB4  201F                     move.l     D0, [A7]+
  2649. 00001BB6  D247                     add.w      D1, D7
  2650. 00001BB8  48C1                     ext.l      D1
  2651. 00001BBA  2F01                     move.l     -[A7], D1
  2652. 00001BBC  4EBA E8A0                jsr        [PC - 0x1760 /* 0000045E */]
  2653. 00001BC0  221F                     move.l     D1, [A7]+
  2654. 00001BC2  201F                     move.l     D0, [A7]+
  2655. 00001BC4  9081                     sub.l      D0, D1
  2656. 00001BC6  3F00                     move.w     -[A7], D0
  2657. 00001BC8  4267                     clr.w      -[A7]
  2658. 00001BCA  2053                     movea.l    A0, [A3]
  2659. 00001BCC  2068 0004                movea.l    A0, [A0 + 0x4]
  2660. 00001BD0  2F28 023C                move.l     -[A7], [A0 + 0x23C]
  2661. 00001BD4  A9DD                     trap       TEScroll
  2662. label00001BD6:
  2663. 00001BD6  2053                     movea.l    A0, [A3]
  2664. 00001BD8  2F28 0004                move.l     -[A7], [A0 + 0x4]
  2665. 00001BDC  4EAD 09AA                jsr        [A5 + 0x9AA]
  2666. 00001BE0  4CDF 18C0                movem.l    A4,A3,D7,D6, [A7]+
  2667. 00001BE4  4E5E                     unlink     A6
  2668. 00001BE6  205F                     movea.l    A0, [A7]+
  2669. 00001BE8  5C4F                     addq.w     A7, 6
  2670. 00001BEA  4ED0                     jmp        [A0]
  2671. 00001BEC  884D                     or.w       D4, A5
  2672. 00001BEE  5941                     subq.w     D1, 4
  2673. 00001BF0  4354                     chk.w      D1, [A4]
  2674. 00001BF2  494F                     chk.w      D4, A7
  2675. 00001BF4  4E00                     .invalid   // invalid opcode 4
  2676. 00001BF6  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  2677. export_384: // at 00001BF8 (misaligned)
  2678. 00001BFA  FFCE                     .extension 0xFCE // unimplemented
  2679. 00001BFC  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  2680. 00001C00  266E 0008                movea.l    A3, [A6 + 0x8]
  2681. 00001C04  102E 000E                move.b     D0, [A6 + 0xE]
  2682. 00001C08  802E 000C                or.b       D0, [A6 + 0xC]
  2683. 00001C0C  6700 039E                beq        +0x3A0 /* 00001FAC */
  2684. 00001C10  2053                     movea.l    A0, [A3]
  2685. 00001C12  3F28 0020                move.w     -[A7], [A0 + 0x20]
  2686. 00001C16  486E FFEC                pea.l      [A6 - 0x14]
  2687. 00001C1A  486E FFE8                pea.l      [A6 - 0x18]
  2688. 00001C1E  486E FFEA                pea.l      [A6 - 0x16]
  2689. 00001C22  2F0B                     move.l     -[A7], A3
  2690. 00001C24  3F3C 0003                move.w     -[A7], 0x3
  2691. 00001C28  A83D                     trap       TEDispatch
  2692. 00001C2A  2053                     movea.l    A0, [A3]
  2693. 00001C2C  4A68 003C                tst.w      [A0 + 0x3C]
  2694. 00001C30  6624                     bne        +0x26 /* 00001C56 */
  2695. 00001C32  302E FFE8                move.w     D0, [A6 - 0x18]
  2696. 00001C36  D068 0008                add.w      D0, [A0 + 0x8]
  2697. 00001C3A  5240                     addq.w     D0, 1
  2698. 00001C3C  3D40 FFF8                move.w     [A6 - 0x8], D0
  2699. 00001C40  2053                     movea.l    A0, [A3]
  2700. 00001C42  3028 000A                move.w     D0, [A0 + 0xA]
  2701. 00001C46  5240                     addq.w     D0, 1
  2702. 00001C48  3D40 FFFA                move.w     [A6 - 0x6], D0
  2703. 00001C4C  2D6E FFF8 FFFC           move.l     [A6 - 0x4], [A6 - 0x8]
  2704. 00001C52  6000 0122                bra        +0x124 /* 00001D76 */
  2705. label00001C56:
  2706. 00001C56  2053                     movea.l    A0, [A3]
  2707. 00001C58  2248                     movea.l    A1, A0
  2708. 00001C5A  3028 0020                move.w     D0, [A0 + 0x20]
  2709. 00001C5E  B069 003C                cmp.w      D0, [A1 + 0x3C]
  2710. 00001C62  6662                     bne        +0x64 /* 00001CC6 */
  2711. 00001C64  2068 003E                movea.l    A0, [A0 + 0x3E]
  2712. 00001C68  2253                     movea.l    A1, [A3]
  2713. 00001C6A  3029 003C                move.w     D0, [A1 + 0x3C]
  2714. 00001C6E  48C0                     ext.l      D0
  2715. 00001C70  D090                     add.l      D0, [A0]
  2716. 00001C72  5380                     subq.l     D0, 1
  2717. 00001C74  2D40 FFCE                move.l     [A6 - 0x32], D0
  2718. 00001C78  206E FFCE                movea.l    A0, [A6 - 0x32]
  2719. 00001C7C  700D                     moveq.l    D0, 0x0D
  2720. 00001C7E  B010                     cmp.b      D0, [A0]
  2721. 00001C80  662E                     bne        +0x30 /* 00001CB0 */
  2722. 00001C82  42A7                     clr.l      -[A7]
  2723. 00001C84  2053                     movea.l    A0, [A3]
  2724. 00001C86  3028 0020                move.w     D0, [A0 + 0x20]
  2725. 00001C8A  5340                     subq.w     D0, 1
  2726. 00001C8C  3F00                     move.w     -[A7], D0
  2727. 00001C8E  2F0B                     move.l     -[A7], A3
  2728. 00001C90  3F3C 0008                move.w     -[A7], 0x8
  2729. 00001C94  A83D                     trap       TEDispatch
  2730. 00001C96  2D5F FFF8                move.l     [A6 - 0x8], [A7]+
  2731. 00001C9A  2053                     movea.l    A0, [A3]
  2732. 00001C9C  3028 000A                move.w     D0, [A0 + 0xA]
  2733. 00001CA0  5240                     addq.w     D0, 1
  2734. 00001CA2  3D40 FFFA                move.w     [A6 - 0x6], D0
  2735. 00001CA6  302E FFE8                move.w     D0, [A6 - 0x18]
  2736. 00001CAA  D16E FFF8                add.w      [A6 - 0x8], D0
  2737. 00001CAE  602A                     bra        +0x2C /* 00001CDA */
  2738. label00001CB0:
  2739. 00001CB0  42A7                     clr.l      -[A7]
  2740. 00001CB2  2053                     movea.l    A0, [A3]
  2741. 00001CB4  3F28 0020                move.w     -[A7], [A0 + 0x20]
  2742. 00001CB8  2F0B                     move.l     -[A7], A3
  2743. 00001CBA  3F3C 0008                move.w     -[A7], 0x8
  2744. 00001CBE  A83D                     trap       TEDispatch
  2745. 00001CC0  2D5F FFF8                move.l     [A6 - 0x8], [A7]+
  2746. 00001CC4  6014                     bra        +0x16 /* 00001CDA */
  2747. label00001CC6:
  2748. 00001CC6  42A7                     clr.l      -[A7]
  2749. 00001CC8  2053                     movea.l    A0, [A3]
  2750. 00001CCA  3F28 0020                move.w     -[A7], [A0 + 0x20]
  2751. 00001CCE  2F0B                     move.l     -[A7], A3
  2752. 00001CD0  3F3C 0008                move.w     -[A7], 0x8
  2753. 00001CD4  A83D                     trap       TEDispatch
  2754. 00001CD6  2D5F FFF8                move.l     [A6 - 0x8], [A7]+
  2755. label00001CDA:
  2756. 00001CDA  2053                     movea.l    A0, [A3]
  2757. 00001CDC  2248                     movea.l    A1, A0
  2758. 00001CDE  3028 0022                move.w     D0, [A0 + 0x22]
  2759. 00001CE2  B069 0020                cmp.w      D0, [A1 + 0x20]
  2760. 00001CE6  660A                     bne        +0xC /* 00001CF2 */
  2761. 00001CE8  2D6E FFF8 FFFC           move.l     [A6 - 0x4], [A6 - 0x8]
  2762. 00001CEE  6000 0086                bra        +0x88 /* 00001D76 */
  2763. label00001CF2:
  2764. 00001CF2  2053                     movea.l    A0, [A3]
  2765. 00001CF4  2248                     movea.l    A1, A0
  2766. 00001CF6  3028 0022                move.w     D0, [A0 + 0x22]
  2767. 00001CFA  B069 003C                cmp.w      D0, [A1 + 0x3C]
  2768. 00001CFE  6662                     bne        +0x64 /* 00001D62 */
  2769. 00001D00  2068 003E                movea.l    A0, [A0 + 0x3E]
  2770. 00001D04  2253                     movea.l    A1, [A3]
  2771. 00001D06  3029 003C                move.w     D0, [A1 + 0x3C]
  2772. 00001D0A  48C0                     ext.l      D0
  2773. 00001D0C  D090                     add.l      D0, [A0]
  2774. 00001D0E  5380                     subq.l     D0, 1
  2775. 00001D10  2D40 FFCE                move.l     [A6 - 0x32], D0
  2776. 00001D14  206E FFCE                movea.l    A0, [A6 - 0x32]
  2777. 00001D18  700D                     moveq.l    D0, 0x0D
  2778. 00001D1A  B010                     cmp.b      D0, [A0]
  2779. 00001D1C  662E                     bne        +0x30 /* 00001D4C */
  2780. 00001D1E  42A7                     clr.l      -[A7]
  2781. 00001D20  2053                     movea.l    A0, [A3]
  2782. 00001D22  3028 0022                move.w     D0, [A0 + 0x22]
  2783. 00001D26  5340                     subq.w     D0, 1
  2784. 00001D28  3F00                     move.w     -[A7], D0
  2785. 00001D2A  2F0B                     move.l     -[A7], A3
  2786. 00001D2C  3F3C 0008                move.w     -[A7], 0x8
  2787. 00001D30  A83D                     trap       TEDispatch
  2788. 00001D32  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  2789. 00001D36  2053                     movea.l    A0, [A3]
  2790. 00001D38  3028 000A                move.w     D0, [A0 + 0xA]
  2791. 00001D3C  5240                     addq.w     D0, 1
  2792. 00001D3E  3D40 FFFE                move.w     [A6 - 0x2], D0
  2793. 00001D42  302E FFE8                move.w     D0, [A6 - 0x18]
  2794. 00001D46  D16E FFFC                add.w      [A6 - 0x4], D0
  2795. 00001D4A  602A                     bra        +0x2C /* 00001D76 */
  2796. label00001D4C:
  2797. 00001D4C  42A7                     clr.l      -[A7]
  2798. 00001D4E  2053                     movea.l    A0, [A3]
  2799. 00001D50  3F28 0022                move.w     -[A7], [A0 + 0x22]
  2800. 00001D54  2F0B                     move.l     -[A7], A3
  2801. 00001D56  3F3C 0008                move.w     -[A7], 0x8
  2802. 00001D5A  A83D                     trap       TEDispatch
  2803. 00001D5C  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  2804. 00001D60  6014                     bra        +0x16 /* 00001D76 */
  2805. label00001D62:
  2806. 00001D62  42A7                     clr.l      -[A7]
  2807. 00001D64  2053                     movea.l    A0, [A3]
  2808. 00001D66  3F28 0022                move.w     -[A7], [A0 + 0x22]
  2809. 00001D6A  2F0B                     move.l     -[A7], A3
  2810. 00001D6C  3F3C 0008                move.w     -[A7], 0x8
  2811. 00001D70  A83D                     trap       TEDispatch
  2812. 00001D72  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  2813. label00001D76:
  2814. 00001D76  302E FFE8                move.w     D0, [A6 - 0x18]
  2815. 00001D7A  916E FFF8                sub.w      [A6 - 0x8], D0
  2816. 00001D7E  536E FFFA                subq.w     [A6 - 0x6], 1
  2817. 00001D82  302E FFFC                move.w     D0, [A6 - 0x4]
  2818. 00001D86  906E FFF8                sub.w      D0, [A6 - 0x8]
  2819. 00001D8A  2053                     movea.l    A0, [A3]
  2820. 00001D8C  2248                     movea.l    A1, A0
  2821. 00001D8E  3228 000C                move.w     D1, [A0 + 0xC]
  2822. 00001D92  9269 0008                sub.w      D1, [A1 + 0x8]
  2823. 00001D96  B240                     cmp.w      D1, D0
  2824. 00001D98  5CC0                     sge        D0
  2825. 00001D9A  4400                     neg.b      D0
  2826. 00001D9C  1D40 FFD3                move.b     [A6 - 0x2D], D0
  2827. 00001DA0  302E FFFE                move.w     D0, [A6 - 0x2]
  2828. 00001DA4  906E FFFA                sub.w      D0, [A6 - 0x6]
  2829. 00001DA8  6A02                     bpl        +0x4 /* 00001DAC */
  2830. 00001DAA  4440                     neg.w      D0
  2831. label00001DAC:
  2832. 00001DAC  2053                     movea.l    A0, [A3]
  2833. 00001DAE  2248                     movea.l    A1, A0
  2834. 00001DB0  3228 000E                move.w     D1, [A0 + 0xE]
  2835. 00001DB4  9269 000A                sub.w      D1, [A1 + 0xA]
  2836. 00001DB8  B240                     cmp.w      D1, D0
  2837. 00001DBA  5CC0                     sge        D0
  2838. 00001DBC  4400                     neg.b      D0
  2839. 00001DBE  1D40 FFD2                move.b     [A6 - 0x2E], D0
  2840. 00001DC2  2053                     movea.l    A0, [A3]
  2841. 00001DC4  49E8 0008                lea.l      A4, [A0 + 0x8]
  2842. 00001DC8  42A7                     clr.l      -[A7]
  2843. 00001DCA  42A7                     clr.l      -[A7]
  2844. 00001DCC  302E FFF8                move.w     D0, [A6 - 0x8]
  2845. 00001DD0  48C0                     ext.l      D0
  2846. 00001DD2  2F00                     move.l     -[A7], D0
  2847. 00001DD4  3014                     move.w     D0, [A4]
  2848. 00001DD6  48C0                     ext.l      D0
  2849. 00001DD8  2F00                     move.l     -[A7], D0
  2850. 00001DDA  4EBA E6B4                jsr        [PC - 0x194C /* 00000490 */]
  2851. 00001DDE  302C 0004                move.w     D0, [A4 + 0x4]
  2852. 00001DE2  48C0                     ext.l      D0
  2853. 00001DE4  2F00                     move.l     -[A7], D0
  2854. 00001DE6  4EBA E676                jsr        [PC - 0x198A /* 0000045E */]
  2855. 00001DEA  201F                     move.l     D0, [A7]+
  2856. 00001DEC  3D40 FFE0                move.w     [A6 - 0x20], D0
  2857. 00001DF0  42A7                     clr.l      -[A7]
  2858. 00001DF2  42A7                     clr.l      -[A7]
  2859. 00001DF4  302E FFFC                move.w     D0, [A6 - 0x4]
  2860. 00001DF8  48C0                     ext.l      D0
  2861. 00001DFA  2F00                     move.l     -[A7], D0
  2862. 00001DFC  3014                     move.w     D0, [A4]
  2863. 00001DFE  48C0                     ext.l      D0
  2864. 00001E00  2F00                     move.l     -[A7], D0
  2865. 00001E02  4EBA E68C                jsr        [PC - 0x1974 /* 00000490 */]
  2866. 00001E06  302C 0004                move.w     D0, [A4 + 0x4]
  2867. 00001E0A  48C0                     ext.l      D0
  2868. 00001E0C  2F00                     move.l     -[A7], D0
  2869. 00001E0E  4EBA E64E                jsr        [PC - 0x19B2 /* 0000045E */]
  2870. 00001E12  201F                     move.l     D0, [A7]+
  2871. 00001E14  3D40 FFE2                move.w     [A6 - 0x1E], D0
  2872. 00001E18  42A7                     clr.l      -[A7]
  2873. 00001E1A  42A7                     clr.l      -[A7]
  2874. 00001E1C  42A7                     clr.l      -[A7]
  2875. 00001E1E  302E FFFA                move.w     D0, [A6 - 0x6]
  2876. 00001E22  48C0                     ext.l      D0
  2877. 00001E24  2F00                     move.l     -[A7], D0
  2878. 00001E26  302E FFFE                move.w     D0, [A6 - 0x2]
  2879. 00001E2A  48C0                     ext.l      D0
  2880. 00001E2C  2F00                     move.l     -[A7], D0
  2881. 00001E2E  4EBA E62E                jsr        [PC - 0x19D2 /* 0000045E */]
  2882. 00001E32  302C 0002                move.w     D0, [A4 + 0x2]
  2883. 00001E36  48C0                     ext.l      D0
  2884. 00001E38  2F00                     move.l     -[A7], D0
  2885. 00001E3A  4EBA E654                jsr        [PC - 0x19AC /* 00000490 */]
  2886. 00001E3E  302C 0006                move.w     D0, [A4 + 0x6]
  2887. 00001E42  48C0                     ext.l      D0
  2888. 00001E44  2F00                     move.l     -[A7], D0
  2889. 00001E46  4EBA E616                jsr        [PC - 0x19EA /* 0000045E */]
  2890. 00001E4A  201F                     move.l     D0, [A7]+
  2891. 00001E4C  3D40 FFDC                move.w     [A6 - 0x24], D0
  2892. 00001E50  42A7                     clr.l      -[A7]
  2893. 00001E52  42A7                     clr.l      -[A7]
  2894. 00001E54  42A7                     clr.l      -[A7]
  2895. 00001E56  302E FFFA                move.w     D0, [A6 - 0x6]
  2896. 00001E5A  48C0                     ext.l      D0
  2897. 00001E5C  2F00                     move.l     -[A7], D0
  2898. 00001E5E  302E FFFE                move.w     D0, [A6 - 0x2]
  2899. 00001E62  48C0                     ext.l      D0
  2900. 00001E64  2F00                     move.l     -[A7], D0
  2901. 00001E66  4EBA E628                jsr        [PC - 0x19D8 /* 00000490 */]
  2902. 00001E6A  302C 0002                move.w     D0, [A4 + 0x2]
  2903. 00001E6E  48C0                     ext.l      D0
  2904. 00001E70  2F00                     move.l     -[A7], D0
  2905. 00001E72  4EBA E61C                jsr        [PC - 0x19E4 /* 00000490 */]
  2906. 00001E76  302C 0006                move.w     D0, [A4 + 0x6]
  2907. 00001E7A  48C0                     ext.l      D0
  2908. 00001E7C  2F00                     move.l     -[A7], D0
  2909. 00001E7E  4EBA E5DE                jsr        [PC - 0x1A22 /* 0000045E */]
  2910. 00001E82  201F                     move.l     D0, [A7]+
  2911. 00001E84  3D40 FFDE                move.w     [A6 - 0x22], D0
  2912. 00001E88  3A2E FFF8                move.w     D5, [A6 - 0x8]
  2913. 00001E8C  9A6E FFE0                sub.w      D5, [A6 - 0x20]
  2914. 00001E90  382E FFFC                move.w     D4, [A6 - 0x4]
  2915. 00001E94  986E FFE2                sub.w      D4, [A6 - 0x1E]
  2916. 00001E98  42A7                     clr.l      -[A7]
  2917. 00001E9A  302E FFFA                move.w     D0, [A6 - 0x6]
  2918. 00001E9E  48C0                     ext.l      D0
  2919. 00001EA0  2F00                     move.l     -[A7], D0
  2920. 00001EA2  302E FFFE                move.w     D0, [A6 - 0x2]
  2921. 00001EA6  48C0                     ext.l      D0
  2922. 00001EA8  2F00                     move.l     -[A7], D0
  2923. 00001EAA  4EBA E5B2                jsr        [PC - 0x1A4E /* 0000045E */]
  2924. 00001EAE  302E FFDC                move.w     D0, [A6 - 0x24]
  2925. 00001EB2  48C0                     ext.l      D0
  2926. 00001EB4  221F                     move.l     D1, [A7]+
  2927. 00001EB6  9280                     sub.l      D1, D0
  2928. 00001EB8  3D41 FFD4                move.w     [A6 - 0x2C], D1
  2929. 00001EBC  42A7                     clr.l      -[A7]
  2930. 00001EBE  302E FFFA                move.w     D0, [A6 - 0x6]
  2931. 00001EC2  48C0                     ext.l      D0
  2932. 00001EC4  2F00                     move.l     -[A7], D0
  2933. 00001EC6  302E FFFE                move.w     D0, [A6 - 0x2]
  2934. 00001ECA  48C0                     ext.l      D0
  2935. 00001ECC  2F00                     move.l     -[A7], D0
  2936. 00001ECE  4EBA E5C0                jsr        [PC - 0x1A40 /* 00000490 */]
  2937. 00001ED2  302E FFDE                move.w     D0, [A6 - 0x22]
  2938. 00001ED6  48C0                     ext.l      D0
  2939. 00001ED8  221F                     move.l     D1, [A7]+
  2940. 00001EDA  9280                     sub.l      D1, D0
  2941. 00001EDC  3D41 FFD6                move.w     [A6 - 0x2A], D1
  2942. 00001EE0  102E FFD3                move.b     D0, [A6 - 0x2D]
  2943. 00001EE4  6718                     beq        +0x1A /* 00001EFE */
  2944. 00001EE6  3005                     move.w     D0, D5
  2945. 00001EE8  6A02                     bpl        +0x4 /* 00001EEC */
  2946. 00001EEA  4440                     neg.w      D0
  2947. label00001EEC:
  2948. 00001EEC  3204                     move.w     D1, D4
  2949. 00001EEE  6A02                     bpl        +0x4 /* 00001EF2 */
  2950. 00001EF0  4441                     neg.w      D1
  2951. label00001EF2:
  2952. 00001EF2  B240                     cmp.w      D1, D0
  2953. 00001EF4  6C04                     bge        +0x6 /* 00001EFA */
  2954. 00001EF6  3C05                     move.w     D6, D5
  2955. 00001EF8  601A                     bra        +0x1C /* 00001F14 */
  2956. label00001EFA:
  2957. 00001EFA  3C04                     move.w     D6, D4
  2958. 00001EFC  6016                     bra        +0x18 /* 00001F14 */
  2959. label00001EFE:
  2960. 00001EFE  3005                     move.w     D0, D5
  2961. 00001F00  6A02                     bpl        +0x4 /* 00001F04 */
  2962. 00001F02  4440                     neg.w      D0
  2963. label00001F04:
  2964. 00001F04  3204                     move.w     D1, D4
  2965. 00001F06  6A02                     bpl        +0x4 /* 00001F0A */
  2966. 00001F08  4441                     neg.w      D1
  2967. label00001F0A:
  2968. 00001F0A  B240                     cmp.w      D1, D0
  2969. 00001F0C  6F04                     ble        +0x6 /* 00001F12 */
  2970. 00001F0E  3C05                     move.w     D6, D5
  2971. 00001F10  6002                     bra        +0x4 /* 00001F14 */
  2972. label00001F12:
  2973. 00001F12  3C04                     move.w     D6, D4
  2974. label00001F14:
  2975. 00001F14  102E FFD2                move.b     D0, [A6 - 0x2E]
  2976. 00001F18  6720                     beq        +0x22 /* 00001F3A */
  2977. 00001F1A  302E FFD4                move.w     D0, [A6 - 0x2C]
  2978. 00001F1E  6A02                     bpl        +0x4 /* 00001F22 */
  2979. 00001F20  4440                     neg.w      D0
  2980. label00001F22:
  2981. 00001F22  322E FFD6                move.w     D1, [A6 - 0x2A]
  2982. 00001F26  6A02                     bpl        +0x4 /* 00001F2A */
  2983. 00001F28  4441                     neg.w      D1
  2984. label00001F2A:
  2985. 00001F2A  B240                     cmp.w      D1, D0
  2986. 00001F2C  6C06                     bge        +0x8 /* 00001F34 */
  2987. 00001F2E  3E2E FFD4                move.w     D7, [A6 - 0x2C]
  2988. 00001F32  6024                     bra        +0x26 /* 00001F58 */
  2989. label00001F34:
  2990. 00001F34  3E2E FFD6                move.w     D7, [A6 - 0x2A]
  2991. 00001F38  601E                     bra        +0x20 /* 00001F58 */
  2992. label00001F3A:
  2993. 00001F3A  302E FFD4                move.w     D0, [A6 - 0x2C]
  2994. 00001F3E  6A02                     bpl        +0x4 /* 00001F42 */
  2995. 00001F40  4440                     neg.w      D0
  2996. label00001F42:
  2997. 00001F42  322E FFD6                move.w     D1, [A6 - 0x2A]
  2998. 00001F46  6A02                     bpl        +0x4 /* 00001F4A */
  2999. 00001F48  4441                     neg.w      D1
  3000. label00001F4A:
  3001. 00001F4A  B240                     cmp.w      D1, D0
  3002. 00001F4C  6F06                     ble        +0x8 /* 00001F54 */
  3003. 00001F4E  3E2E FFD4                move.w     D7, [A6 - 0x2C]
  3004. 00001F52  6004                     bra        +0x6 /* 00001F58 */
  3005. label00001F54:
  3006. 00001F54  3E2E FFD6                move.w     D7, [A6 - 0x2A]
  3007. label00001F58:
  3008. 00001F58  2853                     movea.l    A4, [A3]
  3009. 00001F5A  302E FFFE                move.w     D0, [A6 - 0x2]
  3010. 00001F5E  906C 0002                sub.w      D0, [A4 + 0x2]
  3011. 00001F62  322C 000E                move.w     D1, [A4 + 0xE]
  3012. 00001F66  926C 000A                sub.w      D1, [A4 + 0xA]
  3013. 00001F6A  B240                     cmp.w      D1, D0
  3014. 00001F6C  6D08                     blt        +0xA /* 00001F76 */
  3015. 00001F6E  3E2C 0002                move.w     D7, [A4 + 0x2]
  3016. 00001F72  9E6C 000A                sub.w      D7, [A4 + 0xA]
  3017. label00001F76:
  3018. 00001F76  102E 000C                move.b     D0, [A6 + 0xC]
  3019. 00001F7A  6602                     bne        +0x4 /* 00001F7E */
  3020. 00001F7C  4247                     clr.w      D7
  3021. label00001F7E:
  3022. 00001F7E  102E 000E                move.b     D0, [A6 + 0xE]
  3023. 00001F82  6602                     bne        +0x4 /* 00001F86 */
  3024. 00001F84  4246                     clr.w      D6
  3025. label00001F86:
  3026. 00001F86  4A46                     tst.w      D6
  3027. 00001F88  56C0                     sne        D0
  3028. 00001F8A  4A47                     tst.w      D7
  3029. 00001F8C  56C1                     sne        D1
  3030. 00001F8E  8001                     or.b       D0, D1
  3031. 00001F90  671A                     beq        +0x1C /* 00001FAC */
  3032. 00001F92  3007                     move.w     D0, D7
  3033. 00001F94  4440                     neg.w      D0
  3034. 00001F96  3F00                     move.w     -[A7], D0
  3035. 00001F98  3006                     move.w     D0, D6
  3036. 00001F9A  4440                     neg.w      D0
  3037. 00001F9C  3F00                     move.w     -[A7], D0
  3038. 00001F9E  2F0B                     move.l     -[A7], A3
  3039. 00001FA0  A9DD                     trap       TEScroll
  3040. 00001FA2  2053                     movea.l    A0, [A3]
  3041. 00001FA4  2F28 0052                move.l     -[A7], [A0 + 0x52]
  3042. 00001FA8  4EAD 09AA                jsr        [A5 + 0x9AA]
  3043. label00001FAC:
  3044. 00001FAC  4CDF 18F0                movem.l    A4,A3,D7,D6,D5,D4, [A7]+
  3045. 00001FB0  4E5E                     unlink     A6
  3046. 00001FB2  205F                     movea.l    A0, [A7]+
  3047. 00001FB4  504F                     addq.w     A7, 8
  3048. 00001FB6  4ED0                     jmp        [A0]
  3049. 00001FB8  8B4D 5954                pack       -[A5], -[A5], 0x5954
  3050. 00001FBC  4553                     chk.w      D2, [A3]
  3051. 00001FBE  454C                     chk.w      D2, A4
  3052. 00001FC0  5649                     addq.w     A1, 3
  3053. 00001FC2  4557                     chk.w      D2, [A7]
  3054. 00001FC4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3055. export_385: // at 00001FC6 (misaligned)
  3056. 00001FC8  FFFE                     .extension 0xFFE // unimplemented
  3057. 00001FCA  2F07                     move.l     -[A7], D7
  3058. 00001FCC  4267                     clr.w      -[A7]
  3059. 00001FCE  2F2D E85C                move.l     -[A7], [A5 - 0x17A4]
  3060. 00001FD2  42A7                     clr.l      -[A7]
  3061. 00001FD4  A924                     trap       FrontWindow
  3062. 00001FD6  486D E6F0                pea.l      [A5 - 0x1910]
  3063. 00001FDA  A96C                     trap       FindControl
  3064. 00001FDC  301F                     move.w     D0, [A7]+
  3065. 00001FDE  0440 0014                subi.w     D0, 0x14
  3066. 00001FE2  6714                     beq        +0x16 /* 00001FF8 */
  3067. 00001FE4  5340                     subq.w     D0, 1
  3068. 00001FE6  6710                     beq        +0x12 /* 00001FF8 */
  3069. 00001FE8  5340                     subq.w     D0, 1
  3070. 00001FEA  670C                     beq        +0xE /* 00001FF8 */
  3071. 00001FEC  5340                     subq.w     D0, 1
  3072. 00001FEE  6708                     beq        +0xA /* 00001FF8 */
  3073. 00001FF0  0440 006A                subi.w     D0, 0x6A /* 'j' */
  3074. 00001FF4  6716                     beq        +0x18 /* 0000200C */
  3075. 00001FF6  6050                     bra        +0x52 /* 00002048 */
  3076. label00001FF8:
  3077. 00001FF8  4267                     clr.w      -[A7]
  3078. 00001FFA  2F2D E6F0                move.l     -[A7], [A5 - 0x1910]
  3079. 00001FFE  2F2D E85C                move.l     -[A7], [A5 - 0x17A4]
  3080. 00002002  487A FAD6                pea.l      [PC - 0x52A /* 00001ADA */]
  3081. 00002006  A968                     trap       TrackControl
  3082. 00002008  3E1F                     move.w     D7, [A7]+
  3083. 0000200A  603C                     bra        +0x3E /* 00002048 */
  3084. label0000200C:
  3085. 0000200C  4267                     clr.w      -[A7]
  3086. 0000200E  2F2D E6F0                move.l     -[A7], [A5 - 0x1910]
  3087. 00002012  A960                     trap       GetControlValue/GetCtlValue
  3088. 00002014  3E1F                     move.w     D7, [A7]+
  3089. 00002016  4267                     clr.w      -[A7]
  3090. 00002018  2F2D E6F0                move.l     -[A7], [A5 - 0x1910]
  3091. 0000201C  2F2D E85C                move.l     -[A7], [A5 - 0x17A4]
  3092. 00002020  42A7                     clr.l      -[A7]
  3093. 00002022  A968                     trap       TrackControl
  3094. 00002024  4A5F                     tst.w      [A7]+
  3095. 00002026  6720                     beq        +0x22 /* 00002048 */
  3096. 00002028  4267                     clr.w      -[A7]
  3097. 0000202A  2F2D E6F0                move.l     -[A7], [A5 - 0x1910]
  3098. 0000202E  A960                     trap       GetControlValue/GetCtlValue
  3099. 00002030  3007                     move.w     D0, D7
  3100. 00002032  905F                     sub.w      D0, [A7]+
  3101. 00002034  3F00                     move.w     -[A7], D0
  3102. 00002036  4267                     clr.w      -[A7]
  3103. 00002038  206D E6F0                movea.l    A0, [A5 - 0x1910]
  3104. 0000203C  2050                     movea.l    A0, [A0]
  3105. 0000203E  2068 0004                movea.l    A0, [A0 + 0x4]
  3106. 00002042  2F28 023C                move.l     -[A7], [A0 + 0x23C]
  3107. 00002046  A9DD                     trap       TEScroll
  3108. label00002048:
  3109. 00002048  2E1F                     move.l     D7, [A7]+
  3110. 0000204A  4E5E                     unlink     A6
  3111. 0000204C  4E75                     rts
  3112. 0000204E  9853                     sub.w      D4, [A3]
  3113. 00002050  5441                     addq.w     D1, 2
  3114. 00002052  4E44                     trap       4
  3115. 00002054  4152                     chk.w      D0, [A2]
  3116. 00002056  4448                     neg.w      A0
  3117. 00002058  4F52                     chk.w      D7, [A2]
  3118. 0000205A  495A                     chk.w      D4, [A2]+
  3119. 0000205C  4F4E                     chk.w      D7, A6
  3120. 0000205E  5441                     addq.w     D1, 2
  3121. 00002060  4C53 4352                movem.l    A6,A1,A0,D6,D4,D1, [A3]
  3122. 00002064  4F4C                     chk.w      D7, A4
  3123. 00002066  4C00 0000                movem.w    <none>, D0
  3124. 0000206A  4E56 FE68                link       A6, -0x0198
  3125. 0000206E  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  3126. 00002072  3D6E 000C 000E           move.w     [A6 + 0xE], [A6 + 0xC]
  3127. 00002078  7001                     moveq.l    D0, 0x01
  3128. 0000207A  B06E 000C                cmp.w      D0, [A6 + 0xC]
  3129. 0000207E  57C0                     seq        D0
  3130. 00002080  2F00                     move.l     -[A7], D0
  3131. 00002082  42A7                     clr.l      -[A7]
  3132. 00002084  41ED EEB0                lea.l      A0, [A5 - 0x1150]
  3133. 00002088  1F10                     move.b     -[A7], [A0]
  3134. 0000208A  3F3C 00FF                move.w     -[A7], 0xFF
  3135. 0000208E  4EAD 0F22                jsr        [A5 + 0xF22]
  3136. 00002092  2F08                     move.l     -[A7], A0
  3137. 00002094  4EAD 0ADA                jsr        [A5 + 0xADA]
  3138. 00002098  221F                     move.l     D1, [A7]+
  3139. 0000209A  201F                     move.l     D0, [A7]+
  3140. 0000209C  4A81                     tst.l      D1
  3141. 0000209E  57C1                     seq        D1
  3142. 000020A0  C001                     and.b      D0, D1
  3143. 000020A2  676A                     beq        +0x6C /* 0000210E */
  3144. 000020A4  49EE FE78                lea.l      A4, [A6 - 0x188]
  3145. 000020A8  7E01                     moveq.l    D7, 0x01
  3146. 000020AA  6006                     bra        +0x8 /* 000020B2 */
  3147. label000020AC:
  3148. 000020AC  4214                     clr.b      [A4]
  3149. 000020AE  528C                     addq.l     A4, 1
  3150. 000020B0  5247                     addq.w     D7, 1
  3151. label000020B2:
  3152. 000020B2  707A                     moveq.l    D0, 0x7A
  3153. 000020B4  B047                     cmp.w      D0, D7
  3154. 000020B6  6CF4                     bge        -0xA /* 000020AC */
  3155. 000020B8  267C 0000 0214           movea.l    A3, 0x214
  3156. 000020BE  3013                     move.w     D0, [A3]
  3157. 000020C0  4440                     neg.w      D0
  3158. 000020C2  3D40 FE8E                move.w     [A6 - 0x172], D0
  3159. 000020C6  41ED EEB0                lea.l      A0, [A5 - 0x1150]
  3160. 000020CA  2D48 FE8A                move.l     [A6 - 0x176], A0
  3161. 000020CE  426E FE94                clr.w      [A6 - 0x16C]
  3162. 000020D2  2C3C 0000 0398           move.l     D6, 0x398
  3163. 000020D8  2046                     movea.l    A0, D6
  3164. 000020DA  2D50 FEA8                move.l     [A6 - 0x158], [A0]
  3165. 000020DE  7000                     moveq.l    D0, 0x00
  3166. 000020E0  2D40 FE84                move.l     [A6 - 0x17C], D0
  3167. 000020E4  4267                     clr.w      -[A7]
  3168. 000020E6  486E FE78                pea.l      [A6 - 0x188]
  3169. 000020EA  4267                     clr.w      -[A7]
  3170. 000020EC  4EAD 03F2                jsr        [A5 + 0x3F2]
  3171. 000020F0  3A1F                     move.w     D5, [A7]+
  3172. 000020F2  4267                     clr.w      -[A7]
  3173. 000020F4  486E FE96                pea.l      [A6 - 0x16A]
  3174. 000020F8  42A7                     clr.l      -[A7]
  3175. 000020FA  A85D                     trap       BitTst
  3176. 000020FC  101F                     move.b     D0, [A7]+
  3177. 000020FE  670E                     beq        +0x10 /* 0000210E */
  3178. 00002100  3F3C 001C                move.w     -[A7], 0x1C
  3179. 00002104  4EAD 04FA                jsr        [A5 + 0x4FA]
  3180. 00002108  3D7C 0064 000E           move.w     [A6 + 0xE], 0x64 /* 'd' */
  3181. label0000210E:
  3182. 0000210E  4CDF 18E0                movem.l    A4,A3,D7,D6,D5, [A7]+
  3183. 00002112  4E5E                     unlink     A6
  3184. 00002114  205F                     movea.l    A0, [A7]+
  3185. 00002116  5C4F                     addq.w     A7, 6
  3186. 00002118  4ED0                     jmp        [A0]
  3187. 0000211A  8F4D 5947                pack       -[A7], -[A5], 0x5947
  3188. 0000211E  4554                     chk.w      D2, [A4]
  3189. 00002120  4449                     neg.w      A1
  3190. 00002122  414C                     chk.w      D0, A4
  3191. 00002124  4F47                     chk.w      D7, D7
  3192. 00002126  484F                     pea.l      A7
  3193. 00002128  4F4B                     chk.w      D7, A3
  3194. 0000212A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3195. export_386: // at 0000212C (misaligned)
  3196. 0000212E  FEE0                     .extension 0xEE0 // unimplemented
  3197. 00002130  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  3198. 00002134  206E 000C                movea.l    A0, [A6 + 0xC]
  3199. 00002138  43EE FF00                lea.l      A1, [A6 - 0x100]
  3200. 0000213C  703F                     moveq.l    D0, 0x3F
  3201. label0000213E:
  3202. 0000213E  22D8                     move.l     [A1]+, [A0]+
  3203. 00002140  51C8 FFFC                dbf        D0, -0x6 /* 0000213E */
  3204. 00002144  3D7C 004B FEFE           move.w     [A6 - 0x102], 0x4B /* 'K' */
  3205. 0000214A  3D6E 0010 FEFC           move.w     [A6 - 0x104], [A6 + 0x10]
  3206. 00002150  2D7C 5445 5854 FEE0      move.l     [A6 - 0x120], 0x54455854 /* 'TEXT' */
  3207. 00002158  0C6D 0700 FDAC           cmpi.w     [A5 - 0x254], 0x700
  3208. 0000215E  6C46                     bge        +0x48 /* 000021A6 */
  3209. 00002160  486E FEF4                pea.l      [A6 - 0x10C]
  3210. 00002164  A874                     trap       GetPort
  3211. 00002166  206E FEF4                movea.l    A0, [A6 - 0x10C]
  3212. 0000216A  49E8 0008                lea.l      A4, [A0 + 0x8]
  3213. 0000216E  3E2C 0006                move.w     D7, [A4 + 0x6]
  3214. 00002172  9E6C 0002                sub.w      D7, [A4 + 0x2]
  3215. 00002176  42A7                     clr.l      -[A7]
  3216. 00002178  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  3217. 0000217E  3F3C F060                move.w     -[A7], 0xF060
  3218. 00002182  A9A0                     trap       GetResource
  3219. 00002184  265F                     movea.l    A3, [A7]+
  3220. 00002186  2053                     movea.l    A0, [A3]
  3221. 00002188  49D0                     lea.l      A4, [A0]
  3222. 0000218A  3C2C 0006                move.w     D6, [A4 + 0x6]
  3223. 0000218E  9C6C 0002                sub.w      D6, [A4 + 0x2]
  3224. 00002192  3007                     move.w     D0, D7
  3225. 00002194  9046                     sub.w      D0, D6
  3226. 00002196  48C0                     ext.l      D0
  3227. 00002198  81FC 0002                divs.w     D0, 0x2
  3228. 0000219C  3D40 FEFE                move.w     [A6 - 0x102], D0
  3229. 000021A0  3D6E 0010 FEFC           move.w     [A6 - 0x104], [A6 + 0x10]
  3230. label000021A6:
  3231. 000021A6  2F2E FEFC                move.l     -[A7], [A6 - 0x104]
  3232. 000021AA  41EE FF00                lea.l      A0, [A6 - 0x100]
  3233. 000021AE  1F10                     move.b     -[A7], [A0]
  3234. 000021B0  3F3C 00FF                move.w     -[A7], 0xFF
  3235. 000021B4  4EAD 0F22                jsr        [A5 + 0xF22]
  3236. 000021B8  2F08                     move.l     -[A7], A0
  3237. 000021BA  42A7                     clr.l      -[A7]
  3238. 000021BC  3F3C 0001                move.w     -[A7], 0x1
  3239. 000021C0  486E FEE0                pea.l      [A6 - 0x120]
  3240. 000021C4  487A FEA4                pea.l      [PC - 0x15C /* 0000206A */]
  3241. 000021C8  486D EEA6                pea.l      [A5 - 0x115A]
  3242. 000021CC  3F3C 0002                move.w     -[A7], 0x2
  3243. 000021D0  A9EA                     trap       Pack3
  3244. 000021D2  206E 0008                movea.l    A0, [A6 + 0x8]
  3245. 000021D6  43ED EEA6                lea.l      A1, [A5 - 0x115A]
  3246. 000021DA  7011                     moveq.l    D0, 0x11
  3247. label000021DC:
  3248. 000021DC  20D9                     move.l     [A0]+, [A1]+
  3249. 000021DE  51C8 FFFC                dbf        D0, -0x6 /* 000021DC */
  3250. 000021E2  3091                     move.w     [A0], [A1]
  3251. 000021E4  4CDF 18C0                movem.l    A4,A3,D7,D6, [A7]+
  3252. 000021E8  4E5E                     unlink     A6
  3253. 000021EA  205F                     movea.l    A0, [A7]+
  3254. 000021EC  DEFC 000A                add.w      A7, 0xA /* '\n' */
  3255. 000021F0  4ED0                     jmp        [A0]
  3256. 000021F2  9343                     subx.w     D1, D3
  3257. 000021F4  454E                     chk.w      D2, A6
  3258. 000021F6  5452                     addq.w     [A2], 2
  3259. 000021F8  4553                     chk.w      D2, [A3]
  3260. 000021FA  4647                     not.w      D7
  3261. 000021FC  4554                     chk.w      D2, [A4]
  3262. 000021FE  5445                     addq.w     D5, 2
  3263. 00002200  5854                     addq.w     [A4], 4
  3264. 00002202  4649                     not.w      A1
  3265. 00002204  4C45 0000                movem.l    <none>, D5
  3266. 00002208  4E56 FE68                link       A6, -0x0198
  3267. 0000220C  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  3268. 00002210  3D6E 000C 000E           move.w     [A6 + 0xE], [A6 + 0xC]
  3269. 00002216  7001                     moveq.l    D0, 0x01
  3270. 00002218  B06E 000C                cmp.w      D0, [A6 + 0xC]
  3271. 0000221C  6600 00F4                bne        +0xF6 /* 00002312 */
  3272. 00002220  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3273. 00002224  3F3C 0007                move.w     -[A7], 0x7
  3274. 00002228  486E FFFE                pea.l      [A6 - 0x2]
  3275. 0000222C  486E FFFA                pea.l      [A6 - 0x6]
  3276. 00002230  486E FFF2                pea.l      [A6 - 0xE]
  3277. 00002234  A98D                     trap       GetDialogItem/GetDItem
  3278. 00002236  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  3279. 0000223A  486E FEF2                pea.l      [A6 - 0x10E]
  3280. 0000223E  A990                     trap       GetDialogItemText/GetIText
  3281. 00002240  49EE FE78                lea.l      A4, [A6 - 0x188]
  3282. 00002244  7E01                     moveq.l    D7, 0x01
  3283. 00002246  6006                     bra        +0x8 /* 0000224E */
  3284. label00002248:
  3285. 00002248  4214                     clr.b      [A4]
  3286. 0000224A  528C                     addq.l     A4, 1
  3287. 0000224C  5247                     addq.w     D7, 1
  3288. label0000224E:
  3289. 0000224E  707A                     moveq.l    D0, 0x7A
  3290. 00002250  B047                     cmp.w      D0, D7
  3291. 00002252  6CF4                     bge        -0xA /* 00002248 */
  3292. 00002254  267C 0000 0214           movea.l    A3, 0x214
  3293. 0000225A  3013                     move.w     D0, [A3]
  3294. 0000225C  4440                     neg.w      D0
  3295. 0000225E  3D40 FE8E                move.w     [A6 - 0x172], D0
  3296. 00002262  41EE FEF2                lea.l      A0, [A6 - 0x10E]
  3297. 00002266  2D48 FE8A                move.l     [A6 - 0x176], A0
  3298. 0000226A  426E FE94                clr.w      [A6 - 0x16C]
  3299. 0000226E  2C3C 0000 0398           move.l     D6, 0x398
  3300. 00002274  2046                     movea.l    A0, D6
  3301. 00002276  2D50 FEA8                move.l     [A6 - 0x158], [A0]
  3302. 0000227A  7000                     moveq.l    D0, 0x00
  3303. 0000227C  2D40 FE84                move.l     [A6 - 0x17C], D0
  3304. 00002280  4267                     clr.w      -[A7]
  3305. 00002282  486E FE78                pea.l      [A6 - 0x188]
  3306. 00002286  4267                     clr.w      -[A7]
  3307. 00002288  4EAD 03F2                jsr        [A5 + 0x3F2]
  3308. 0000228C  4A5F                     tst.w      [A7]+
  3309. 0000228E  6600 0082                bne        +0x84 /* 00002312 */
  3310. 00002292  102D EEA5                move.b     D0, [A5 - 0x115B]
  3311. 00002296  0A00 0001                xori.b     D0, 0x1
  3312. 0000229A  322D EEA2                move.w     D1, [A5 - 0x115E]
  3313. 0000229E  B26E FE90                cmp.w      D1, [A6 - 0x170]
  3314. 000022A2  56C1                     sne        D1
  3315. 000022A4  8001                     or.b       D0, D1
  3316. 000022A6  2F00                     move.l     -[A7], D0
  3317. 000022A8  4267                     clr.w      -[A7]
  3318. 000022AA  486E FE96                pea.l      [A6 - 0x16A]
  3319. 000022AE  42A7                     clr.l      -[A7]
  3320. 000022B0  A85D                     trap       BitTst
  3321. 000022B2  121F                     move.b     D1, [A7]+
  3322. 000022B4  201F                     move.l     D0, [A7]+
  3323. 000022B6  C001                     and.b      D0, D1
  3324. 000022B8  2F00                     move.l     -[A7], D0
  3325. 000022BA  4267                     clr.w      -[A7]
  3326. 000022BC  486E FE96                pea.l      [A6 - 0x16A]
  3327. 000022C0  7207                     moveq.l    D1, 0x07
  3328. 000022C2  2F01                     move.l     -[A7], D1
  3329. 000022C4  A85D                     trap       BitTst
  3330. 000022C6  121F                     move.b     D1, [A7]+
  3331. 000022C8  201F                     move.l     D0, [A7]+
  3332. 000022CA  8001                     or.b       D0, D1
  3333. 000022CC  223C 5445 5854           move.l     D1, 0x54455854 /* 'TEXT' */
  3334. 000022D2  B2AE FE98                cmp.l      D1, [A6 - 0x168]
  3335. 000022D6  56C1                     sne        D1
  3336. 000022D8  8001                     or.b       D0, D1
  3337. 000022DA  322D EEA2                move.w     D1, [A5 - 0x115E]
  3338. 000022DE  B26E FE90                cmp.w      D1, [A6 - 0x170]
  3339. 000022E2  57C1                     seq        D1
  3340. 000022E4  48E7 C000                movem.l    -[A7], D0,D1
  3341. 000022E8  4267                     clr.w      -[A7]
  3342. 000022EA  486E FE96                pea.l      [A6 - 0x16A]
  3343. 000022EE  7407                     moveq.l    D2, 0x07
  3344. 000022F0  2F02                     move.l     -[A7], D2
  3345. 000022F2  A85D                     trap       BitTst
  3346. 000022F4  141F                     move.b     D2, [A7]+
  3347. 000022F6  4CDF 0003                movem.l    D1,D0, [A7]+
  3348. 000022FA  C202                     and.b      D1, D2
  3349. 000022FC  8001                     or.b       D0, D1
  3350. 000022FE  0240 0001                andi.w     D0, 0x1
  3351. 00002302  670E                     beq        +0x10 /* 00002312 */
  3352. 00002304  3F3C 001D                move.w     -[A7], 0x1D
  3353. 00002308  4EAD 04FA                jsr        [A5 + 0x4FA]
  3354. 0000230C  3D7C 0064 000E           move.w     [A6 + 0xE], 0x64 /* 'd' */
  3355. label00002312:
  3356. 00002312  4CDF 18C0                movem.l    A4,A3,D7,D6, [A7]+
  3357. 00002316  4E5E                     unlink     A6
  3358. 00002318  205F                     movea.l    A0, [A7]+
  3359. 0000231A  5C4F                     addq.w     A7, 6
  3360. 0000231C  4ED0                     jmp        [A0]
  3361. 0000231E  8F4D 5950                pack       -[A7], -[A5], 0x5950
  3362. 00002322  5554                     subq.w     [A4], 2
  3363. 00002324  4449                     neg.w      A1
  3364. 00002326  414C                     chk.w      D0, A4
  3365. 00002328  4F47                     chk.w      D7, D7
  3366. 0000232A  484F                     pea.l      A7
  3367. 0000232C  4F4B                     chk.w      D7, A3
  3368. 0000232E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3369. export_387: // at 00002330 (misaligned)
  3370. 00002332  FDF0                     .extension 0xDF0 // unimplemented
  3371. 00002334  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  3372. 00002338  206E 0014                movea.l    A0, [A6 + 0x14]
  3373. 0000233C  43EE FF00                lea.l      A1, [A6 - 0x100]
  3374. 00002340  703F                     moveq.l    D0, 0x3F
  3375. label00002342:
  3376. 00002342  22D8                     move.l     [A1]+, [A0]+
  3377. 00002344  51C8 FFFC                dbf        D0, -0x6 /* 00002342 */
  3378. 00002348  206E 0010                movea.l    A0, [A6 + 0x10]
  3379. 0000234C  43EE FE00                lea.l      A1, [A6 - 0x200]
  3380. 00002350  703F                     moveq.l    D0, 0x3F
  3381. label00002352:
  3382. 00002352  22D8                     move.l     [A1]+, [A0]+
  3383. 00002354  51C8 FFFC                dbf        D0, -0x6 /* 00002352 */
  3384. 00002358  1B6E 000E EEA5           move.b     [A5 - 0x115B], [A6 + 0xE]
  3385. 0000235E  3B6E 000C EEA2           move.w     [A5 - 0x115E], [A6 + 0xC]
  3386. 00002364  3D7C 004B FDFE           move.w     [A6 - 0x202], 0x4B /* 'K' */
  3387. 0000236A  3D6E 0018 FDFC           move.w     [A6 - 0x204], [A6 + 0x18]
  3388. 00002370  0C6D 0700 FDAC           cmpi.w     [A5 - 0x254], 0x700
  3389. 00002376  6C46                     bge        +0x48 /* 000023BE */
  3390. 00002378  486E FDF4                pea.l      [A6 - 0x20C]
  3391. 0000237C  A874                     trap       GetPort
  3392. 0000237E  206E FDF4                movea.l    A0, [A6 - 0x20C]
  3393. 00002382  49E8 0008                lea.l      A4, [A0 + 0x8]
  3394. 00002386  3E2C 0006                move.w     D7, [A4 + 0x6]
  3395. 0000238A  9E6C 0002                sub.w      D7, [A4 + 0x2]
  3396. 0000238E  42A7                     clr.l      -[A7]
  3397. 00002390  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  3398. 00002396  3F3C F061                move.w     -[A7], 0xF061
  3399. 0000239A  A9A0                     trap       GetResource
  3400. 0000239C  265F                     movea.l    A3, [A7]+
  3401. 0000239E  2053                     movea.l    A0, [A3]
  3402. 000023A0  49D0                     lea.l      A4, [A0]
  3403. 000023A2  3C2C 0006                move.w     D6, [A4 + 0x6]
  3404. 000023A6  9C6C 0002                sub.w      D6, [A4 + 0x2]
  3405. 000023AA  3007                     move.w     D0, D7
  3406. 000023AC  9046                     sub.w      D0, D6
  3407. 000023AE  48C0                     ext.l      D0
  3408. 000023B0  81FC 0002                divs.w     D0, 0x2
  3409. 000023B4  3D40 FDFE                move.w     [A6 - 0x202], D0
  3410. 000023B8  3D6E 0018 FDFC           move.w     [A6 - 0x204], [A6 + 0x18]
  3411. label000023BE:
  3412. 000023BE  2F2E FDFC                move.l     -[A7], [A6 - 0x204]
  3413. 000023C2  41EE FF00                lea.l      A0, [A6 - 0x100]
  3414. 000023C6  1F10                     move.b     -[A7], [A0]
  3415. 000023C8  3F3C 00FF                move.w     -[A7], 0xFF
  3416. 000023CC  4EAD 0F22                jsr        [A5 + 0xF22]
  3417. 000023D0  2F08                     move.l     -[A7], A0
  3418. 000023D2  41EE FE00                lea.l      A0, [A6 - 0x200]
  3419. 000023D6  1F10                     move.b     -[A7], [A0]
  3420. 000023D8  3F3C 00FF                move.w     -[A7], 0xFF
  3421. 000023DC  4EAD 0F22                jsr        [A5 + 0xF22]
  3422. 000023E0  2F08                     move.l     -[A7], A0
  3423. 000023E2  487A FE24                pea.l      [PC - 0x1DC /* 00002208 */]
  3424. 000023E6  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3425. 000023EA  3F3C 0001                move.w     -[A7], 0x1
  3426. 000023EE  A9EA                     trap       Pack3
  3427. 000023F0  4CDF 18C0                movem.l    A4,A3,D7,D6, [A7]+
  3428. 000023F4  4E5E                     unlink     A6
  3429. 000023F6  205F                     movea.l    A0, [A7]+
  3430. 000023F8  DEFC 0012                add.w      A7, 0x12
  3431. 000023FC  4ED0                     jmp        [A0]
  3432. 000023FE  8F43 454E                pack       D7, D3, 0x454E
  3433. 00002402  5452                     addq.w     [A2], 2
  3434. 00002404  4553                     chk.w      D2, [A3]
  3435. 00002406  4650                     not.w      [A0]
  3436. 00002408  5554                     subq.w     [A4], 2
  3437. 0000240A  4649                     not.w      A1
  3438. 0000240C  4C45 0000                movem.l    <none>, D5
  3439. export_388:
  3440. 00002410  4E56 FFF4                link       A6, -0x000C
  3441. 00002414  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  3442. 00002418  0C6D 0700 FDAC           cmpi.w     [A5 - 0x254], 0x700
  3443. 0000241E  6C4C                     bge        +0x4E /* 0000246C */
  3444. 00002420  486E FFF8                pea.l      [A6 - 0x8]
  3445. 00002424  A874                     trap       GetPort
  3446. 00002426  42A7                     clr.l      -[A7]
  3447. 00002428  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  3448. 0000242E  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  3449. 00002432  A9A0                     trap       GetResource
  3450. 00002434  265F                     movea.l    A3, [A7]+
  3451. 00002436  2F0B                     move.l     -[A7], A3
  3452. 00002438  205F                     movea.l    A0, [A7]+
  3453. 0000243A  A04A                     trap       HNoPurge
  3454. 0000243C  206E FFF8                movea.l    A0, [A6 - 0x8]
  3455. 00002440  49E8 0008                lea.l      A4, [A0 + 0x8]
  3456. 00002444  3C2C 0006                move.w     D6, [A4 + 0x6]
  3457. 00002448  9C6C 0002                sub.w      D6, [A4 + 0x2]
  3458. 0000244C  2053                     movea.l    A0, [A3]
  3459. 0000244E  49D0                     lea.l      A4, [A0]
  3460. 00002450  3E2C 0006                move.w     D7, [A4 + 0x6]
  3461. 00002454  9E6C 0002                sub.w      D7, [A4 + 0x2]
  3462. 00002458  3006                     move.w     D0, D6
  3463. 0000245A  9047                     sub.w      D0, D7
  3464. 0000245C  48C0                     ext.l      D0
  3465. 0000245E  81FC 0002                divs.w     D0, 0x2
  3466. 00002462  3940 0002                move.w     [A4 + 0x2], D0
  3467. 00002466  D047                     add.w      D0, D7
  3468. 00002468  3940 0006                move.w     [A4 + 0x6], D0
  3469. label0000246C:
  3470. 0000246C  4CDF 18C0                movem.l    A4,A3,D7,D6, [A7]+
  3471. 00002470  4E5E                     unlink     A6
  3472. 00002472  205F                     movea.l    A0, [A7]+
  3473. 00002474  544F                     addq.w     A7, 2
  3474. 00002476  4ED0                     jmp        [A0]
  3475. 00002478  8A43                     or.w       D5, D3
  3476. 0000247A  454E                     chk.w      D2, A6
  3477. 0000247C  5452                     addq.w     [A2], 2
  3478. 0000247E  4544                     chk.w      D2, D4
  3479. 00002480  4C4F 4700                movem.l    A6,A2,A1,A0, A7
  3480. 00002484  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3481. export_389: // at 00002486 (misaligned)
  3482. 00002488  FFD4                     .extension 0xFD4 // unimplemented
  3483. 0000248A  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  3484. 0000248E  422E 000C                clr.b      [A6 + 0xC]
  3485. 00002492  42A7                     clr.l      -[A7]
  3486. 00002494  42A7                     clr.l      -[A7]
  3487. 00002496  A11A                     trap       GetZone, flags=1
  3488. 00002498  2E88                     move.l     [A7], A0
  3489. 0000249A  205F                     movea.l    A0, [A7]+
  3490. 0000249C  2F10                     move.l     -[A7], [A0]
  3491. 0000249E  4EAD 04A2                jsr        [A5 + 0x4A2]
  3492. 000024A2  42A7                     clr.l      -[A7]
  3493. 000024A4  42A7                     clr.l      -[A7]
  3494. 000024A6  A11A                     trap       GetZone, flags=1
  3495. 000024A8  2E88                     move.l     [A7], A0
  3496. 000024AA  4EAD 04A2                jsr        [A5 + 0x4A2]
  3497. 000024AE  201F                     move.l     D0, [A7]+
  3498. 000024B0  221F                     move.l     D1, [A7]+
  3499. 000024B2  9280                     sub.l      D1, D0
  3500. 000024B4  2F01                     move.l     -[A7], D1
  3501. 000024B6  2F3C 0000 0400           move.l     -[A7], 0x400
  3502. 000024BC  4EAD 0F1A                jsr        [A5 + 0xF1A]
  3503. 000024C0  2A1F                     move.l     D5, [A7]+
  3504. 000024C2  42A7                     clr.l      -[A7]
  3505. 000024C4  42A7                     clr.l      -[A7]
  3506. 000024C6  2F3C 0001 0082           move.l     -[A7], 0x10082
  3507. 000024CC  4EBA DDEC                jsr        [PC - 0x2214 /* 000002BA */]
  3508. 000024D0  42A7                     clr.l      -[A7]
  3509. 000024D2  2F3C 0002 0082           move.l     -[A7], 0x20082
  3510. 000024D8  4EBA DDE0                jsr        [PC - 0x2220 /* 000002BA */]
  3511. 000024DC  2F05                     move.l     -[A7], D5
  3512. 000024DE  4EAD 0F12                jsr        [A5 + 0xF12]
  3513. 000024E2  2F3C 0000 0400           move.l     -[A7], 0x400
  3514. 000024E8  4EAD 0F1A                jsr        [A5 + 0xF1A]
  3515. 000024EC  4EBA DFA2                jsr        [PC - 0x205E /* 00000490 */]
  3516. 000024F0  2B5F EFF6                move.l     [A5 - 0x100A], [A7]+
  3517. 000024F4  42A7                     clr.l      -[A7]
  3518. 000024F6  42A7                     clr.l      -[A7]
  3519. 000024F8  2F3C 0003 0082           move.l     -[A7], 0x30082
  3520. 000024FE  4EBA DDBA                jsr        [PC - 0x2246 /* 000002BA */]
  3521. 00002502  42A7                     clr.l      -[A7]
  3522. 00002504  2F3C 0004 0082           move.l     -[A7], 0x40082
  3523. 0000250A  4EBA DDAE                jsr        [PC - 0x2252 /* 000002BA */]
  3524. 0000250E  2F05                     move.l     -[A7], D5
  3525. 00002510  4EAD 0F12                jsr        [A5 + 0xF12]
  3526. 00002514  2F3C 0000 0400           move.l     -[A7], 0x400
  3527. 0000251A  4EAD 0F1A                jsr        [A5 + 0xF1A]
  3528. 0000251E  4EBA DF70                jsr        [PC - 0x2090 /* 00000490 */]
  3529. 00002522  2B5F EFFA                move.l     [A5 - 0x1006], [A7]+
  3530. 00002526  42A7                     clr.l      -[A7]
  3531. 00002528  42A7                     clr.l      -[A7]
  3532. 0000252A  2F3C 0005 0082           move.l     -[A7], 0x50082
  3533. 00002530  4EBA DD88                jsr        [PC - 0x2278 /* 000002BA */]
  3534. 00002534  42A7                     clr.l      -[A7]
  3535. 00002536  2F3C 0006 0082           move.l     -[A7], 0x60082
  3536. 0000253C  4EBA DD7C                jsr        [PC - 0x2284 /* 000002BA */]
  3537. 00002540  2F05                     move.l     -[A7], D5
  3538. 00002542  4EAD 0F12                jsr        [A5 + 0xF12]
  3539. 00002546  2F3C 0000 0400           move.l     -[A7], 0x400
  3540. 0000254C  4EAD 0F1A                jsr        [A5 + 0xF1A]
  3541. 00002550  4EBA DF3E                jsr        [PC - 0x20C2 /* 00000490 */]
  3542. 00002554  2B5F EFFE                move.l     [A5 - 0x1002], [A7]+
  3543. 00002558  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3544. 0000255C  2F3C 0000 0400           move.l     -[A7], 0x400
  3545. 00002562  4EAD 0F1A                jsr        [A5 + 0xF1A]
  3546. 00002566  202D EFFA                move.l     D0, [A5 - 0x1006]
  3547. 0000256A  D0AD EFF6                add.l      D0, [A5 - 0x100A]
  3548. 0000256E  222D EFFE                move.l     D1, [A5 - 0x1002]
  3549. 00002572  D280                     add.l      D1, D0
  3550. 00002574  201F                     move.l     D0, [A7]+
  3551. 00002576  9081                     sub.l      D0, D1
  3552. 00002578  2D40 FFF4                move.l     [A6 - 0xC], D0
  3553. 0000257C  42A7                     clr.l      -[A7]
  3554. 0000257E  2F3C 0007 0082           move.l     -[A7], 0x70082
  3555. 00002584  4EBA DD34                jsr        [PC - 0x22CC /* 000002BA */]
  3556. 00002588  42A7                     clr.l      -[A7]
  3557. 0000258A  2F3C 0008 0082           move.l     -[A7], 0x80082
  3558. 00002590  4EBA DD28                jsr        [PC - 0x22D8 /* 000002BA */]
  3559. 00002594  201F                     move.l     D0, [A7]+
  3560. 00002596  D09F                     add.l      D0, [A7]+
  3561. 00002598  2F00                     move.l     -[A7], D0
  3562. 0000259A  42A7                     clr.l      -[A7]
  3563. 0000259C  2F3C 0009 0082           move.l     -[A7], 0x90082
  3564. 000025A2  4EBA DD16                jsr        [PC - 0x22EA /* 000002BA */]
  3565. 000025A6  221F                     move.l     D1, [A7]+
  3566. 000025A8  201F                     move.l     D0, [A7]+
  3567. 000025AA  D280                     add.l      D1, D0
  3568. 000025AC  2F01                     move.l     -[A7], D1
  3569. 000025AE  42A7                     clr.l      -[A7]
  3570. 000025B0  2F3C 000A 0082           move.l     -[A7], 0xA0082
  3571. 000025B6  4EBA DD02                jsr        [PC - 0x22FE /* 000002BA */]
  3572. 000025BA  201F                     move.l     D0, [A7]+
  3573. 000025BC  221F                     move.l     D1, [A7]+
  3574. 000025BE  D081                     add.l      D0, D1
  3575. 000025C0  2D40 FFF8                move.l     [A6 - 0x8], D0
  3576. 000025C4  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  3577. 000025C8  2F3C 0000 0400           move.l     -[A7], 0x400
  3578. 000025CE  4EAD 0F12                jsr        [A5 + 0xF12]
  3579. 000025D2  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  3580. 000025D6  4EAD 0F1A                jsr        [A5 + 0xF1A]
  3581. 000025DA  2C1F                     move.l     D6, [A7]+
  3582. 000025DC  0C86 0000 0400           cmpi.l     D6, 0x400
  3583. 000025E2  6D00 0164                blt        +0x166 /* 00002748 */
  3584. 000025E6  1D7C 0001 000C           move.b     [A6 + 0xC], 0x1
  3585. 000025EC  42A7                     clr.l      -[A7]
  3586. 000025EE  2F3C 0007 0082           move.l     -[A7], 0x70082
  3587. 000025F4  4EBA DCC4                jsr        [PC - 0x233C /* 000002BA */]
  3588. 000025F8  2F06                     move.l     -[A7], D6
  3589. 000025FA  4EAD 0F12                jsr        [A5 + 0xF12]
  3590. 000025FE  2F3C 0000 0400           move.l     -[A7], 0x400
  3591. 00002604  4EAD 0F1A                jsr        [A5 + 0xF1A]
  3592. 00002608  2B5F F002                move.l     [A5 - 0xFFE], [A7]+
  3593. 0000260C  42A7                     clr.l      -[A7]
  3594. 0000260E  2F3C 0008 0082           move.l     -[A7], 0x80082
  3595. 00002614  4EBA DCA4                jsr        [PC - 0x235C /* 000002BA */]
  3596. 00002618  2F06                     move.l     -[A7], D6
  3597. 0000261A  4EAD 0F12                jsr        [A5 + 0xF12]
  3598. 0000261E  2F3C 0000 0400           move.l     -[A7], 0x400
  3599. 00002624  4EAD 0F1A                jsr        [A5 + 0xF1A]
  3600. 00002628  2B5F F006                move.l     [A5 - 0xFFA], [A7]+
  3601. 0000262C  42A7                     clr.l      -[A7]
  3602. 0000262E  2F3C 0009 0082           move.l     -[A7], 0x90082
  3603. 00002634  4EBA DC84                jsr        [PC - 0x237C /* 000002BA */]
  3604. 00002638  2F06                     move.l     -[A7], D6
  3605. 0000263A  4EAD 0F12                jsr        [A5 + 0xF12]
  3606. 0000263E  2F3C 0000 0400           move.l     -[A7], 0x400
  3607. 00002644  4EAD 0F1A                jsr        [A5 + 0xF1A]
  3608. 00002648  2B5F F00A                move.l     [A5 - 0xFF6], [A7]+
  3609. 0000264C  42A7                     clr.l      -[A7]
  3610. 0000264E  2F3C 000A 0082           move.l     -[A7], 0xA0082
  3611. 00002654  4EBA DC64                jsr        [PC - 0x239C /* 000002BA */]
  3612. 00002658  2F06                     move.l     -[A7], D6
  3613. 0000265A  4EAD 0F12                jsr        [A5 + 0xF12]
  3614. 0000265E  2F3C 0000 0400           move.l     -[A7], 0x400
  3615. 00002664  4EAD 0F1A                jsr        [A5 + 0xF1A]
  3616. 00002668  2B5F F00E                move.l     [A5 - 0xFF2], [A7]+
  3617. 0000266C  202D EFFE                move.l     D0, [A5 - 0x1002]
  3618. 00002670  D0AD EFFA                add.l      D0, [A5 - 0x1006]
  3619. 00002674  222D F002                move.l     D1, [A5 - 0xFFE]
  3620. 00002678  D280                     add.l      D1, D0
  3621. 0000267A  202D F006                move.l     D0, [A5 - 0xFFA]
  3622. 0000267E  D081                     add.l      D0, D1
  3623. 00002680  222D F00A                move.l     D1, [A5 - 0xFF6]
  3624. 00002684  D280                     add.l      D1, D0
  3625. 00002686  202D F00E                move.l     D0, [A5 - 0xFF2]
  3626. 0000268A  D081                     add.l      D0, D1
  3627. 0000268C  2B40 F012                move.l     [A5 - 0xFEE], D0
  3628. 00002690  42A7                     clr.l      -[A7]
  3629. 00002692  2F2D EFFE                move.l     -[A7], [A5 - 0x1002]
  3630. 00002696  2F3C 0000 0400           move.l     -[A7], 0x400
  3631. 0000269C  4EAD 0F12                jsr        [A5 + 0xF12]
  3632. 000026A0  42A7                     clr.l      -[A7]
  3633. 000026A2  2F3C 000B 0082           move.l     -[A7], 0xB0082
  3634. 000026A8  4EBA DC10                jsr        [PC - 0x23F0 /* 000002BA */]
  3635. 000026AC  4EAD 0F12                jsr        [A5 + 0xF12]
  3636. 000026B0  2F3C 0000 0190           move.l     -[A7], 0x190
  3637. 000026B6  4EAD 0F1A                jsr        [A5 + 0xF1A]
  3638. 000026BA  4EAD 03C2                jsr        [A5 + 0x3C2]
  3639. 000026BE  285F                     movea.l    A4, [A7]+
  3640. 000026C0  42A7                     clr.l      -[A7]
  3641. 000026C2  2F0C                     move.l     -[A7], A4
  3642. 000026C4  4EAD 03CA                jsr        [A5 + 0x3CA]
  3643. 000026C8  201F                     move.l     D0, [A7]+
  3644. 000026CA  5380                     subq.l     D0, 1
  3645. 000026CC  2D40 FFD8                move.l     [A6 - 0x28], D0
  3646. 000026D0  7E01                     moveq.l    D7, 0x01
  3647. 000026D2  604C                     bra        +0x4E /* 00002720 */
  3648. label000026D4:
  3649. 000026D4  264C                     movea.l    A3, A4
  3650. 000026D6  D7C7                     add.l      A3, D7
  3651. 000026D8  4A13                     tst.b      [A3]
  3652. 000026DA  6640                     bne        +0x42 /* 0000271C */
  3653. 000026DC  42A7                     clr.l      -[A7]
  3654. 000026DE  2F0C                     move.l     -[A7], A4
  3655. 000026E0  4EAD 03CA                jsr        [A5 + 0x3CA]
  3656. 000026E4  2007                     move.l     D0, D7
  3657. 000026E6  5280                     addq.l     D0, 1
  3658. 000026E8  2F00                     move.l     -[A7], D0
  3659. 000026EA  4EAD 0F1A                jsr        [A5 + 0xF1A]
  3660. 000026EE  2D5F FFD4                move.l     [A6 - 0x2C], [A7]+
  3661. 000026F2  7802                     moveq.l    D4, 0x02
  3662. 000026F4  6020                     bra        +0x22 /* 00002716 */
  3663. label000026F6:
  3664. 000026F6  2007                     move.l     D0, D7
  3665. 000026F8  5280                     addq.l     D0, 1
  3666. 000026FA  2F04                     move.l     -[A7], D4
  3667. 000026FC  2F00                     move.l     -[A7], D0
  3668. 000026FE  4EAD 0F12                jsr        [A5 + 0xF12]
  3669. 00002702  201F                     move.l     D0, [A7]+
  3670. 00002704  D08C                     add.l      D0, A4
  3671. 00002706  2640                     movea.l    A3, D0
  3672. 00002708  97FC 0000 0001           sub.l      A3, 0x1
  3673. 0000270E  16BC 0001                move.b     [A3], 0x1
  3674. 00002712  5284                     addq.l     D4, 1
  3675. 00002714  6906                     bvs        +0x8 /* 0000271C */
  3676. label00002716:
  3677. 00002716  B8AE FFD4                cmp.l      D4, [A6 - 0x2C]
  3678. 0000271A  6FDA                     ble        -0x24 /* 000026F6 */
  3679. label0000271C:
  3680. 0000271C  5287                     addq.l     D7, 1
  3681. 0000271E  6906                     bvs        +0x8 /* 00002726 */
  3682. label00002720:
  3683. 00002720  BEAE FFD8                cmp.l      D7, [A6 - 0x28]
  3684. 00002724  6FAE                     ble        -0x50 /* 000026D4 */
  3685. label00002726:
  3686. 00002726  42A7                     clr.l      -[A7]
  3687. 00002728  2F0C                     move.l     -[A7], A4
  3688. 0000272A  4EAD 03CA                jsr        [A5 + 0x3CA]
  3689. 0000272E  2E1F                     move.l     D7, [A7]+
  3690. label00002730:
  3691. 00002730  5387                     subq.l     D7, 1
  3692. 00002732  264C                     movea.l    A3, A4
  3693. 00002734  D7C7                     add.l      A3, D7
  3694. 00002736  4A13                     tst.b      [A3]
  3695. 00002738  66F6                     bne        -0x8 /* 00002730 */
  3696. 0000273A  2007                     move.l     D0, D7
  3697. 0000273C  5280                     addq.l     D0, 1
  3698. 0000273E  2B40 EFF2                move.l     [A5 - 0x100E], D0
  3699. 00002742  2F0C                     move.l     -[A7], A4
  3700. 00002744  205F                     movea.l    A0, [A7]+
  3701. 00002746  A01F                     trap       DisposPtr/DisposePtr
  3702. label00002748:
  3703. 00002748  4CDF 18F0                movem.l    A4,A3,D7,D6,D5,D4, [A7]+
  3704. 0000274C  4E5E                     unlink     A6
  3705. 0000274E  2E9F                     move.l     [A7], [A7]+
  3706. 00002750  4E75                     rts
  3707. 00002752  9A43                     sub.w      D5, D3
  3708. 00002754  414C                     chk.w      D0, A4
  3709. 00002756  4355                     chk.w      D1, [A5]
  3710. 00002758  4C41 5445                movem.l    A6,A4,A2,D6,D2,D0, D1
  3711. 0000275C  4D45                     chk.w      D6, D5
  3712. 0000275E  4D4F                     chk.w      D6, A7
  3713. 00002760  5259                     addq.w     [A1]+, 1
  3714. 00002762  414C                     chk.w      D0, A4
  3715. 00002764  4C4F 4341                movem.l    A6,A1,A0,D6,D0, A7
  3716. 00002768  5449                     addq.w     A1, 2
  3717. 0000276A  4F4E                     chk.w      D7, A6
  3718. 0000276C  5300                     subq.b     D0, 1
  3719. 0000276E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3720. export_390: // at 00002770 (misaligned)
  3721. 00002772  0000 4E5E                ori.b      D0, 0x5E /* '^' */
  3722. 00002776  4E75                     rts
  3723. 00002778  904C                     sub.w      D0, A4
  3724. 0000277A  415A                     chk.w      D0, [A2]+
  3725. 0000277C  594D                     subq.w     A5, 4
  3726. 0000277E  5F49                     subq.w     A1, 7
  3727. 00002780  4E49                     trap       9
  3728. 00002782  5449                     addq.w     A1, 2
  3729. 00002784  414C                     chk.w      D0, A4
  3730. 00002786  4953                     chk.w      D4, [A3]
  3731. 00002788  4500                     .invalid   2, D0 // invalid opcode 4 with b == 4
  3732. 0000278A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3733. export_391: // at 0000278C (misaligned)
  3734. 0000278E  0000 4E5E                ori.b      D0, 0x5E /* '^' */
  3735. 00002792  4E75                     rts
  3736. 00002794  904C                     sub.w      D0, A4
  3737. 00002796  415A                     chk.w      D0, [A2]+
  3738. 00002798  594D                     subq.w     A5, 4
  3739. 0000279A  5F4B                     subq.w     A3, 7
  3740. 0000279C  4953                     chk.w      D4, [A3]
  3741. 0000279E  5342                     subq.w     D2, 1
  3742. 000027A0  5945                     subq.w     D5, 4
  3743. 000027A2  4259                     clr.w      [A1]+
  3744. 000027A4  4500                     .invalid   2, D0 // invalid opcode 4 with b == 4
  3745. 000027A6  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3746. export_392: // at 000027A8 (misaligned)
  3747. 000027AA  FFFE                     .extension 0xFFE // unimplemented
  3748. 000027AC  426E FFFE                clr.w      [A6 - 0x2]
  3749. 000027B0  102D EFF1                move.b     D0, [A5 - 0x100F]
  3750. 000027B4  671C                     beq        +0x1E /* 000027D2 */
  3751. 000027B6  206E 0008                movea.l    A0, [A6 + 0x8]
  3752. 000027BA  2F08                     move.l     -[A7], A0
  3753. 000027BC  42A7                     clr.l      -[A7]
  3754. 000027BE  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  3755. 000027C2  486E FFFE                pea.l      [A6 - 0x2]
  3756. 000027C6  3F3C 001D                move.w     -[A7], 0x1D
  3757. 000027CA  A88F                     trap       OSDispatch
  3758. 000027CC  201F                     move.l     D0, [A7]+
  3759. 000027CE  205F                     movea.l    A0, [A7]+
  3760. 000027D0  2080                     move.l     [A0], D0
  3761. label000027D2:
  3762. 000027D2  4A6E FFFE                tst.w      [A6 - 0x2]
  3763. 000027D6  56C0                     sne        D0
  3764. 000027D8  122D EFF1                move.b     D1, [A5 - 0x100F]
  3765. 000027DC  0A01 0001                xori.b     D1, 0x1
  3766. 000027E0  8001                     or.b       D0, D1
  3767. 000027E2  0240 0001                andi.w     D0, 0x1
  3768. 000027E6  6720                     beq        +0x22 /* 00002808 */
  3769. 000027E8  206E 0008                movea.l    A0, [A6 + 0x8]
  3770. 000027EC  2F08                     move.l     -[A7], A0
  3771. 000027EE  42A7                     clr.l      -[A7]
  3772. 000027F0  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  3773. 000027F4  4EAD 03D2                jsr        [A5 + 0x3D2]
  3774. 000027F8  201F                     move.l     D0, [A7]+
  3775. 000027FA  205F                     movea.l    A0, [A7]+
  3776. 000027FC  2080                     move.l     [A0], D0
  3777. 000027FE  4267                     clr.w      -[A7]
  3778. 00002800  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  3779. 00002804  3D5F FFFE                move.w     [A6 - 0x2], [A7]+
  3780. label00002808:
  3781. 00002808  3D6E FFFE 0010           move.w     [A6 + 0x10], [A6 - 0x2]
  3782. 0000280E  4E5E                     unlink     A6
  3783. 00002810  205F                     movea.l    A0, [A7]+
  3784. 00002812  504F                     addq.w     A7, 8
  3785. 00002814  4ED0                     jmp        [A0]
  3786. 00002816  8F4C 415A                pack       -[A7], -[A4], 0x415A
  3787. 0000281A  594D                     subq.w     A5, 4
  3788. 0000281C  5F4E                     subq.w     A6, 7
  3789. 0000281E  4557                     chk.w      D2, [A7]
  3790. 00002820  4841                     swap.w     D1
  3791. 00002822  4E44                     trap       4
  3792. 00002824  4C45 0000                movem.l    <none>, D5
  3793. export_393:
  3794. 00002828  4E56 0000                link       A6, 0
  3795. 0000282C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3796. 00002830  205F                     movea.l    A0, [A7]+
  3797. 00002832  A023                     trap       DisposHandle/DisposeHandle
  3798. 00002834  4267                     clr.w      -[A7]
  3799. 00002836  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  3800. 0000283A  3D5F 000C                move.w     [A6 + 0xC], [A7]+
  3801. 0000283E  4E5E                     unlink     A6
  3802. 00002840  2E9F                     move.l     [A7], [A7]+
  3803. 00002842  4E75                     rts
  3804. 00002844  924C                     sub.w      D1, A4
  3805. 00002846  415A                     chk.w      D0, [A2]+
  3806. 00002848  594D                     subq.w     A5, 4
  3807. 0000284A  5F44                     subq.w     D4, 7
  3808. 0000284C  4953                     chk.w      D4, [A3]
  3809. 0000284E  504F                     addq.w     A7, 8
  3810. 00002850  5348                     subq.w     A0, 1
  3811. 00002852  414E                     chk.w      D0, A6
  3812. 00002854  444C                     neg.w      A4
  3813. 00002856  4500                     .invalid   2, D0 // invalid opcode 4 with b == 4
  3814. 00002858  0000                     .incomplete
  3815.